Solved

How to change java version in MyEclipse

Posted on 2008-06-12
3
881 Views
Last Modified: 2013-11-23
Does anyone remember how to change the java version that a project uses to compile classes in MyEclipse?  I'm getting a "unable to access jar file" and then an "invalid or corrupt jar file" message when I try to run my JAR.  I'm guessing that I may have the wrong version number (1.5 instead of 1.4)  in my manifest file.

Your  helps is greatly appreciated

Matt
0
Comment
Question by:matty1stop
3 Comments
 
LVL 9

Accepted Solution

by:
sanjooz earned 45 total points
ID: 21773931
in Eclipse

Window > Preferences > Java > Installed JREs
0
 
LVL 92

Assisted Solution

by:objects
objects earned 40 total points
ID: 21774269
you can also do it Project Properties for a particular project

0
 
LVL 2

Assisted Solution

by:formula1act
formula1act earned 40 total points
ID: 21776841
Check the installed JREs and also the compiler compliance level in the preferences section
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows explorer path to command prompt 5 44
SHA2 certs for IIS AND Java? 2 90
hibernate example using maven 12 42
maven module vs maven project 3 23
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

772 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