Solved

How to change java version in MyEclipse

Posted on 2008-06-12
3
903 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Maven Project: Hibernate Dependencies Conflict 10 85
throw exception 21 76
Java Restore security prompts not working 10 241
Java class and jar 3 58
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
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 …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

737 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