Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2007, 06:39 PM
Member
 
Join Date: Jul 2007
Posts: 6
Unni is on a distinguished road
Error in version of JDK and compatibility of JDK issues
Hi, Greetings!!

I have installed jdk1.4 in my m/c..

I have downloaded an application and installed in Eclipse.

In the process of installing it statd like: Check the Properties -> Java Compiler to make sure that the compliance level is 5.0; it's possible that this may not happen automatically with the Import operation.

it seems like we have to install jdk5.0. Am i correct?

I havnt installed 5.0 .. so i got error like

java.lang.UnsupportedClassVersionError: test/Params (Unsupported major.minor version 49.0) - one file

java.lang.UnsupportedClassVersionError: forms/SelectionReentry (Unsupported major.minor version 49.0) - for another file


and the project marked with error like red x

Please suggest me wht changes required. if the change is to install jdk5.0 then
the question is :

Can i install 2 jdk in my machine? like i have already 1.4 and then can i install again 5.0 with the availability of 1.4 (since i cant taken off 1.4 - situation is like that (so i cant simply upgrade to 5.0))

if i can install 2 jdk then, the question is:

i have configured 1.4 in classpath in environmental variables.. so is it possible to add again an another jdk in this classpath. (Also note- in eclipse i guess no need of classpath configuration for jdk5.0. it already there in the list of Properties -> Java Compiler..so Is that like no need of classpath setting of jdk5.0 in Eclipse)

Please let know.. Thanks in Advance

Regards
Unni
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-09-2007, 09:32 PM
Senior Member
 
Join Date: Mar 2007
Posts: 136
goldhouse is on a distinguished road
Eclipse has its own class path no the system class path so you need to configure that and the error cleary shows that there is some version error so make sure everything is in version 5 or 4 , check with the java-setting in the workspace and project
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility issues with IE7 Aneesha New To Java 7 11-30-2007 07:46 AM
want to know IE compatibility with ListItems vinaydandagi Advanced Java 1 07-08-2007 01:30 AM
Compatibility between Struts 1,4 + Jboss 4.03 + Jdk 1.4.2 bbq Web Frameworks 2 07-04-2007 09:55 AM
to version Alan New To Java 2 05-31-2007 08:05 PM
Compatibility with Dual Core Procesors dlgoes Advanced Java 1 05-25-2007 12:17 AM


All times are GMT +3. The time now is 01:30 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org