Solved

How to build with JRE System Library J2SDK1.5

Posted on 2007-11-21
3
2,057 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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 use and create new code templates in NetBeans IDE 8.0 for Windows.

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now