Solved

How to change java version in MyEclipse

Posted on 2008-06-12
3
890 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to see all occupied ports on windows 10 laptop 15 82
ejb on wildfly 5 45
Java Restore security prompts not working 10 107
Java: The Public Class Main 4 44
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

685 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