Results 1 to 3 of 3

Thread: Applets

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    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?

  2. #2
    New Member
    Join Date
    Jul 2003
    Posts
    4
    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

  3. #3

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    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
  •  



Click Here to Expand Forum to Full Width