Perry Smith

Java Questions & Answers

Home / Java Q & A Page 2 / Java Q & A Archive Main Page

Putting Java app in Start menu of Win 98
 Thursday, 22-Oct-98 02:17:14

      146.137.252.103 writes:

      How do you insert a Java "stand alone" application into the Start menu of Windows 98?

      Unlike C++, Java does not produce a "clickable" executable file (.exe file) after compilation. Therefore, I am forced to
      use the java interpreter ("java" command for JDK 1.1x) every time I want to execute the program. How do I create a
      "clickable" executable file for a Java program that I can insert in the Start menu of Windows? Any help at all would be
      greatly appreciated. :-)

      Jack

Responses
 Re: Putting Java app in Start menu of Win 98
 Thursday, 22-Oct-98 09:22:01

      171.208.10.141 writes:

      Java was not meant to be demeaned to the point of becoming a Bill Gates executable, so the process involves a little
      extra work. One alternative is to use the JRE and include it with your java classes, and write a simple C program that
      will launch your Java driver. The only other method is to use a program that will convert your bytecode into the
      machine code of your choice. There are a few out there that are still "free". TowerJ@ www.towerj.com is meant to
      handle server-side apps, and then there's Supercede@ www.supercede.com which'll handle just about anything.

      MikeD



Re: Re: Putting Java app in Start menu of Win 98 Thursday, 22-Oct-98 09:24:54 171.208.10.141 writes: BTW, TowerJ cannot currently handle any apps that use the java.awt. MikeD
Re: Putting Java app in Start menu of Win 98 Thursday, 22-Oct-98 09:23:48 171.208.10.141 writes: If you just want to produce something that you can place in the Start Menu, all you have to do is to associate *.class files with java.exe and then place the main driver in the start menu. MikeD
Re: Re: Putting Java app in Start menu of Win 98 Thursday, 22-Oct-98 09:28:06 171.208.10.141 writes: n the off-chance that you don't know, the easiest way to associate a file with a particular extension (*.class, in this case,) with an executable (java.exe, in this case,)is to double click on any *.class file in explorer and then it'll give you the option of choosing which program should run that type of file. Choos Browse and find java.exe. Make sure that "Always use this program to open this file" is checked and then hit "OK". MikeD
Home / Java Q & A Page 2 / Java Q & A Archive Main Page