|
-
Aug 31st, 2003, 08:09 PM
#1
Thread Starter
Dazed Member
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?
-
Aug 31st, 2003, 10:30 PM
#2
New Member
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
-
Sep 1st, 2003, 12:40 AM
#3
Thread Starter
Dazed Member
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.
Last edited by Dilenger4; Sep 1st, 2003 at 12:45 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|