Re: [newbie] Any hope for Java on Linux?
Dear Dr. Evil, I too have installed Sun's jdk1.3.1 on Mandrake 8.0, and I use it every day to write software in Java. As long as you set up the appropriate environment variables (namely PATH and CLASSPATH), you shouldn't have any trouble writing, compiling, and running Java programs. If you would like more details on how I set up my environment to support Java development, I would be more than happy to share them with you. Just send me a reply, and I will help you unravel the Java mysteries... By the way, it is my humble opinion that getting the environment configured correctly is at least half the battle in learning how to program in Java. It's not always intuitive at first, and it's definitely easier to get started if you have the help of someone who has already set things up before on several different OS's. And yes, compiled Java classes are truly portable across OS's without recompiling (with a few exceptions like Java Native Interface API and multi-threaded programs). Hope this helps you want to try again. Please contact me if you would like help getting Java set up on your Mandrake box. Mike --- Dr. Evil [EMAIL PROTECTED] wrote: 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://.mandrakestore.com = May the Force be with you. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
RE: [newbie] Any hope for Java on Linux?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Brinkman Sent: Thursday, August 23, 2001 9:42 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Any hope for Java on Linux? On Wednesday 22 August 2001 09:07 pm, Dr. Evil escribió: 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? The java Mandrake ships with is the free and open source Kaffe http://www.kaffe.org/ Mandrake can't, won't, and shouldn't include proprietary software like Sun's java. Google 'free software' and 'open source software' for a better understanding of these issues. -- Tom Brinkman Galveston Bay Java. IBM jre, Sun jdk and jre as well as Forte and Borland jbuilder are on the Commercial CDs in the 8.0 Powerpack. Charles (-: Forever never goes beyond tomorrow. Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [newbie] Any hope for Java on Linux?
On Wednesday 22 August 2001 09:07 pm, Dr. Evil escribió: 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? The java Mandrake ships with is the free and open source Kaffe http://www.kaffe.org/ Mandrake can't, won't, and shouldn't include proprietary software like Sun's java. Google 'free software' and 'open source software' for a better understanding of these issues. -- Tom Brinkman Galveston Bay Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [newbie] Any hope for Java on Linux?
If it's any consolation, I know Java developers who use Linux full time and consider it a fine development platform. I think IBM does a slick Java JVM -- but none of this is personal experience (I've written some Java in Windoze and that's it). Kirby Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com