facebook

JTDS Jars

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #351178 Reply

    dknutson
    Member

    Just getting started with Myeclipse for Spring 2014. I created a new database connection using JTDS jar from sourceforge. Then I created a test web project and attempted to add the CRUD scaffolding to it. I’m able to select my JTDS connection and I’m able to select the database tables I want. When I click on Finish I get this error:

    Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. Test Build path JRE System Library Problem

    I am not sure where I should add the JAR

    #351187 Reply

    dknutson,

    The error indicates that your project is configured to work on Java 6, but your MyEclipse 2014 doesn’t include that version of JRE System Library. You can overcome this warning by either including JRE 6 system library in MyEclipse or use workspace default JRE for your project.

    Including JRE 6 library in MyEclipse :
    -> Navigate to Window > Preferences > Java > Installed JREs > Click on Add > Select Standard VM and click Next > Click on Directory and browse for JDK 1.6 directory > Click Finish > Click Ok.

    Using workspace default JRE :
    -> Right click on the project and select Properties > Java Build Path > Libraries tab > Select JRE System Library [JavaSE 1.6] > Click Edit > Select Workspace Default JRE > Click Finish > Click Ok.
    -> If your workspace default JRE is Java 7 (the one that is checked/selected under Window > Preferences > Java > Installed JREs), then make sure that the Java compliance level is set to 1.7 for your project. (Right click on the project and select Properties > Java Compiler > select 1.7 for the Complier compliance level > Click Ok)

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JTDS Jars

You must be logged in to post in the forum log in