OSOTJASN - HOW DO I RUN JAVA APPLETS? 09/20/96 ======================================================================= How Do I Run Java Applets? ======================================================================= Please Read Entire Document for Full Explanation of Procedures -------------------------------------------------------------- DESCRIPTION Typing the following to run the Java applets will FAIL: APPLET JAVAOS2\DEMO\TUMBLINGDUKE\EXAMPLE1.HTML APPLET FILE:\\\E:\JAVAOS2\DEMO\TUMBLINGDUKE\EXAMPLE1.HTML Although applet viewer will launch, the applet itself will not be initialized. RESOLUTION When attempting to run Java applets from the OS/2 Warp 4 command line, you must follow appropriate syntax. The following example illustrates how to run the Java applets from the command line. Basically, you need to specify the path as you would to a local drive URL (Universal Resource Locator). Notice the forward slash - it is required! Enter the following from the command line: APPLET FILE:\\\N:\JAVAOS2\DEMO\TUMBLINGDUKE/EXAMPLE.HTML (where N: is the drive the Java examples are installed on) Also, you can change to the actual subdirectory where the HTML (Hypertext Markup Language) file resides and run the applet from there. For example, type: CD N:\JAVAOS2\DEMO\TUMBLINGDUKE APPLET EXAMPLE1.HTML (where N: is the drive the Java examples are installed on) Note: APPLET.EXE is in the \JAVAOS2\BIN subdirectory. warp4 ______________________________________________________________________ IBM disclaims all warranties, whether express or implied, including without limitation, warranties of fitness and merchantability with respect to the information in this document. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.