Posted By:
Lou_Rosas
Posted On:
Saturday, October 6, 2001 12:03 PM
I Installed the Sun JDK 1.3.1 onto my Linux machine. I modified my path and class path correctly. I installed the JDK at the root level (/), not at the /usr/local/bin level. I was noticing that I could not get the Swing classes to build. So, I did a: java -version I found out I was using: Kaffe JVM and the version of java it was using was 1.1 I tried tweeking the path to where it would recognize the JDK 1.3.1 before the Kaffe. I tried modifying the Kaffe scripts related to java and javac. I even tried to modify the .java_wrapper script. But everytime I try to compile a java program by: javac I always get the same error: In
More>>
I Installed the Sun JDK 1.3.1 onto my Linux machine. I modified my path and class path correctly. I installed the JDK at the root level (/), not at the /usr/local/bin level. I was noticing that I could not get the Swing classes to build. So, I did a:
java -version
I found out I was using:
Kaffe JVM and the version of java it was using was 1.1
I tried tweeking the path to where it would recognize the JDK 1.3.1 before the Kaffe. I tried modifying the Kaffe scripts related to java and javac. I even tried to modify the .java_wrapper script.
But everytime I try to compile a java program by:
javac
I always get the same error:
Invalid Initial heap size: -Xms8m
Could not create the Java Virtual Machine
When I switch back to the original configuration with Kaffe, I have no problem: just can't compile jdk 1.2 and above classes. Does anyone know how I can compile and run my java programs using the jdk 1.3.1?
<<Less