I have just download the Sun JDK v1.4.2 in order to run a certain Java applet required for my uni course.
I have tried to set a CLASSPATH varibale in Win XP pro to point to the *.class files of the Java application, and the file I want to run is called DigSim.class. The application directory is C:\DigSim and the class files are within this directory (not another folder within) and hence the class path reads the same. (I have set the PATH variable to point to the Bin directory of the SDK and all the parts of the SDK i.e. Javac are recognised)
However, when I try and load the DigSim class file with appletviewer, it does not work. I am tryping (without speach marks) "appletviewer Digsim" in a cmd prompt window. When doing this, it seems as though something is loading and then it goes back to the prompt window.
Any ideas as to what I might be doing wrong? Have I set the CLASSPATH correct?
I have given it a go and DigSim has a *.shtml file which, when entered loads up perfectly in the Appletviewer.
However I should have specified beforehand the main reason I wanted to run the applet locally was to allow write access to my HDD; which I cannot get by loading it through IE. So, when I loaded the DigSim.shtml file, it did the same and wouldn't allow write access i.e. saving files, to my HDD