Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to build with JRE System Library J2SDK1.5

Posted on 2007-11-21
3
Medium Priority
?
2,105 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 1800 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 200 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

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: …
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

564 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