Results 1 to 2 of 2
  1. #1
    Unni is offline Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0

    Default 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

  2. #2
    goldhouse is offline Senior Member
    Join Date
    Mar 2007
    Posts
    134
    Rep Power
    0

    Default

    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

Similar Threads

  1. Compatibility issues with IE7
    By Aneesha in forum New To Java
    Replies: 7
    Last Post: 11-30-2007, 05:46 AM
  2. want to know IE compatibility with ListItems
    By vinaydandagi in forum Advanced Java
    Replies: 1
    Last Post: 07-07-2007, 11:30 PM
  3. Replies: 2
    Last Post: 07-04-2007, 07:55 AM
  4. to version
    By Alan in forum New To Java
    Replies: 2
    Last Post: 05-31-2007, 06:05 PM
  5. Compatibility with Dual Core Procesors
    By dlgoes in forum Advanced Java
    Replies: 1
    Last Post: 05-24-2007, 10:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •