
上QQ阅读APP看书,第一时间看更新
Setting J2SE Version to JDK 6.0
JDBC 4.0 driver requires JDK 6.0. Therefore, we have to set the J2SE version for the JDBC4 project to J2SE 6.0. Select the Project node in the Applications Navigator and select Tools | Project Properties. In the Project Properties window, select the Libraries node. Click on the Change button for the J2SE Version field. In the Edit J2SE Definition window, click New.

In the Create J2SE window, click on Browse to select a JDK 6.0 java.exe
executable file. Specify a J2SE Name, and click on OK. A new J2SE Definition gets created in the Edit J2SE Definition window. Select the J2SE6.0 definition and click on OK.

Click on OK in the Project Properties window.