It seems very difficult to get the Linux java stuff working.  When I
installed Mandrake, it came with a bunch of java stuff:

/usr/bin/java  /usr/bin/javac  /usr/bin/javadoc  /usr/bin/javakey
/usr/bin/javap

However, when I set my java interpreter to /usr/bin/java in Konqueror,
it wouldn't run java applets.  I downloaded the Sun JDK, and installed
it in /usr/local/jdk1.3.1/, and then set Konqueror's java to
/usr/local/jdk1.3.1/bin/java.  Now Konq shows java applets just fine.
So, what was /usr/bin/java for?

Also, I am now trying to write some of my own java stuff.  When I use
Sun's JDK javac, I can compile things just fine, but when I try to run
even the simplest java thing from the commandline, I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: test/class 

So, what's the story on java with Linux?  So far it seems that java is
"write once, run nowhere".

Shouldn't this stuff be built in the kernel?  In other words,
shouldn't the kernel be able to execute java binaries by using some
kind of built-in JVM?

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to