simple applet and java exe questions
Posted on 2003-11-13
Hi, I have 2 questions.
I made an applet. The applet tag in the html file looks like the following:
"<APPLET CODE="Applet.class" width="800" height="500">
How do I change the above tag so that when someone tries to run the applet on a machine that doesn't have Java, the browser goes and downloads the java plug-in automatically?
I used some program to convert a class/jar file into an exe. It runs fine on a computer with a Java Runtime environment. But when I tried to run it on a computer that does not have Java, it doesn't run. Isn't the whole point of an executable to be able to run independantly? Is there a way I can accomplish this?