How to Create the "Java Prompt" shortcut (Win98 and WinME)


NOTE:  I followed these exact instructions for Windows ME, and had no trouble compiling and running.  It is very important that the paths match as follows:

  1. Batch path file (step 6 below)
  2. Installation path in the startj.bat file - you may have to edit this and make sure the path command is set to the place your JDK was installed.

Directions

  1. Create a folder on one of your drives named "bat".  I created mine on my D drive, so I will refer to this folder as "d:\bat"
  2. Copy the following files into the folder:  startj.bat and juggler.ico
  3. Right-click on your desktop
  4. Select "New" from the box that pops up.
  5. Select "Shortcut" from the new box that pops up.
  6. Type "D:\bat\startj.bat" in the white box to the left of the "Browse" button (use the correct drive letter for where you created this folder)
  7. Click the "Next" button
  8. Type "Java Prompt" in the white box
  9. Click the "Next" button
  10. Choose any image from the box (you can always change it later)
  11. Click the "Finish" button
  12. Right-click on the new shortcut (it will be sitting on your desktop)
  13. Select "Properties" from the new box that pops up
  14. Click on the "Program" tab
  15. Fill out the dialog box so that it matches the image below.  Remember to use the correct drive letter for where your jdk is installed, EXCEPT for "Cmd line:", it must remain drive C.

To change the icon:

  1. Click on the "Change Icon..." button
  2. Type "D:\bat\juggler.ico" into the white box under "File name:"
  3. Click OK twice