R
rzeira
Hi all,
I just installed Jdk 1.6 update 4 and tried my first compilation. I
compiled something that previously compiled easily. However, with Jdk
1.6 I got the error:
SomeFile.java:45: cannot access java.lang.Object
bad class file: C:\Tools\Jdk16\jre\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of
the classpath.
private UserRec currRec = null;
I compile directly with javac from a DOS prompt. I tried to compile
few other files and got the same results.
Please help!
I just installed Jdk 1.6 update 4 and tried my first compilation. I
compiled something that previously compiled easily. However, with Jdk
1.6 I got the error:
SomeFile.java:45: cannot access java.lang.Object
bad class file: C:\Tools\Jdk16\jre\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of
the classpath.
private UserRec currRec = null;
I compile directly with javac from a DOS prompt. I tried to compile
few other files and got the same results.
Please help!