I would like to be able to run appletviewer.exe (a java applet launcher), from any location in the command prompt. So that I should be able to access it at the following prompts:
C:\appletviewer
C:\windows\appletviewer
C:\program files\appletviewer
etc...
The actual program file is located in:
C:\Program Files\java2\sdk\bin
I have gone to system under the control panel and added C:\Program Files\java2\sdk\bin under the PATH variable, and under CLASSPATH. Yet I can still not access appletviewer from the command window. However, if I go to the directory from windows explorer and launch appletviewer from there, it works.
Here is actual output from the command window showing that the directory is properly registered as an attribute of the variable:
where <options> include:
-debug Start the applet viewer in the Java debugger
-encoding <encoding> Specify character encoding used by HTML files
-J<runtime flag> Pass argument to the java interpreter
The -J option is non-standard and subject to change without notice.
C:\PROGRA~1\JAVA2\SDK\BIN>
<P ID="edit"><FONT SIZE=-1><EM>Edited by backflash001 on 07/28/03 01:44 PM.</EM></FONT></P>
try removing the space this space:
<pre> v
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ATITEC~1\ATICON~1; C:\Program Files\java2\sdk\bin
^</pre><p>also, make sure you open a new DOS window after making env. variable changes
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.