Solved

How to build with JRE System Library J2SDK1.5

Posted on 2007-11-21
3
2,071 Views
Last Modified: 2013-12-15
How do I add/upgrade to...

to build with JRE System Library J2SDK1.5  -  currently using 1.4
0
Comment
Question by:booksplus
3 Comments
 
LVL 2

Accepted Solution

by:
jasalguero earned 450 total points
ID: 20331395
After you install JRE on your system and launch Eclipse:

-If you want to change only one project right click on the project, then on properties and in the window that appears go to Java Compiler and select project specific settings, there you can select which jre you'll compile with.
-If you want to change the default jre globally go to Window -> Preferences and in the new window Java -> Compiler. You can also check installed JREs in Java -> Installed JREs
0
 
LVL 92

Assisted Solution

by:objects
objects earned 50 total points
ID: 20331483
> You can also check installed JREs in Java -> Installed JREs

you'll need to add the jdk using that page before you do anything
0
 

Author Closing Comment

by:booksplus
ID: 31410479
Thanks.  I also changed the Properties->Java Compiler->Compiler compliance level from "1.4" to "5.0"
to get rid of the compiler errors from the Java 5.0  code.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Safearray problem c++ 4 88
Best IDE for PHP starters 11 134
java. non-English characters encoding problem. intellij idea 3 89
CKEditor - will not function 7 72
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question