Solved

How to change java version in MyEclipse

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
map related example 6 55
Opening PDF on button click and fill new document 2 47
web application structure 18 100
Java exception bubble up 2 21
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

837 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