-
Applets
Im trying to run an Applet using the command line since i was getting a headache in JBuilder. Problem is that i have to keep the .html file and the .class file in the C:\jdk1.3\bin directory in order to run it. Anyway i can take these out of that directory and put it in another one and get it to run?
-
goto http://java.sun.com/j2se/1.4.2/install-windows.html and follow step 5 to be able to run and compile any class and java files through DOS, their is a section in the Jbuilder help that will tell u how to fix this for Jbuilder, it is the same except u must add a new variable besides the path one
-
It seems the .html file that contains the applet code has to be in the /bin directory in order to run the appletviewer. I dont know why the path cannot be specified when the appletviewer is executed. When i put the .html file back in the /bin directory i can finally run the appletviewer but i have to put the .class file(that is specified in the applet code) back in the /bin also or when the applet loads up a java.lang.ClassNotFoundException is thrown.