Improve company productivity with a Business Account.Sign Up

x
?
Solved

How to change java version in MyEclipse

Posted on 2008-06-12
3
Medium Priority
?
968 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 180 total points
ID: 21773931
in Eclipse

Window > Preferences > Java > Installed JREs
0
 
LVL 92

Assisted Solution

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

0
 
LVL 2

Assisted Solution

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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

579 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