home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osotjasn.txt < prev    next >
Text File  |  1997-01-01  |  2KB  |  62 lines

  1. OSOTJASN - HOW DO I RUN JAVA APPLETS?
  2. 09/20/96
  3. =======================================================================
  4. How Do I Run Java Applets?
  5. =======================================================================
  6. Please Read Entire Document for Full Explanation of Procedures
  7. --------------------------------------------------------------
  8. DESCRIPTION
  9.  
  10. Typing the following to run the Java applets will FAIL:
  11.  
  12.    APPLET JAVAOS2\DEMO\TUMBLINGDUKE\EXAMPLE1.HTML
  13.   
  14.    APPLET FILE:\\\E:\JAVAOS2\DEMO\TUMBLINGDUKE\EXAMPLE1.HTML
  15.   
  16. Although applet viewer will launch, the applet itself will 
  17. not be initialized.
  18.  
  19. RESOLUTION
  20.  
  21.  
  22. When attempting to run Java applets from the OS/2 Warp 4 command line, 
  23. you must follow appropriate syntax.  
  24.  
  25. The following example illustrates how to run the Java applets from the 
  26. command line. Basically, you need to specify the path as you would to 
  27. a local drive URL (Universal Resource Locator). 
  28. Notice the forward slash - it is required!
  29.  
  30. Enter the following from the command line:
  31.  
  32.     APPLET FILE:\\\N:\JAVAOS2\DEMO\TUMBLINGDUKE/EXAMPLE.HTML
  33.    
  34. (where N: is the drive the Java examples are installed on)
  35.  
  36. Also, you can change to the actual subdirectory where the HTML 
  37. (Hypertext Markup Language)
  38. file resides and run the applet from there. For example, type:
  39.  
  40.     CD N:\JAVAOS2\DEMO\TUMBLINGDUKE       
  41.     APPLET EXAMPLE1.HTML                 
  42.  
  43. (where N: is the drive the Java examples are installed on)
  44.  
  45. Note: APPLET.EXE is in the \JAVAOS2\BIN subdirectory.
  46.  
  47.  
  48.  
  49. warp4
  50.  
  51. ______________________________________________________________________
  52. IBM disclaims all warranties, whether express or implied, including 
  53. without limitation, warranties of fitness and merchantability with 
  54. respect to the information in this document. By furnishing this 
  55. document, IBM grants no licenses to any related patents or copyrights.  
  56. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  57. or brand names referenced in this document are the property of their 
  58. respective owners. Consult your product manuals for complete trademark 
  59. information. 
  60.  
  61.  
  62.