Java applets
Java applets
(OP)
Hi all.
I'm a bit new with java, so this might be a stupid question.
I just downloaded the Java 2 SDK 1.4. I have some old java files which I compiled with the new 1.4-version. They were originally done with the 1.0-version (probably). The new compiled classes doesn't without the "Use Java 2 v1.4" checked in my browser.
Is there a way to compile applets with the Java 2 SDK 1.4 so that you can run them without the that HUGE java console?
thanks, Kim





RE: Java applets
You might have found the answer somewhere else already, but I'll put it here for you in case you haven't found it yet.
When you use the javac compiler you need to target the version if you want the massive plug-in to disappear. I had the same problem not too long ago myself.
I usually run the command as...
javac -target 1.1 (...+other options)
This will compile the code to the 1.1 version (which will work in some earlier browsers without the plug-in. However, if you have created something new using methods from the JDK 1.2, 1.3, or 1.4, I do not think it will work.
Hope this helps,
Steve
--
http://www.sjesoft.com/