Solved

How to build with JRE System Library J2SDK1.5

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

815 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

11 Experts available now in Live!

Get 1:1 Help Now