Create an icon to launch java apps for Windows (this howto is deprecated)Tag(s): DEPRECATED


Let's say you have a class named myApp.class and it is located in the directory myJavaApp on drive C:. Then create a Shortcut to the myApp.class. Next edit the properties of the Shortcut and change the line
c:\myjavaapp\MyApp.class   to   javaw MyApp
In the properties tab panel, you also havethe possibility to assign an icon to the Shortcut. If you click on the newly created icon, your Java application will start without opening a DOS box. If your application is Text mode application use "java" instead of "javaw".

If the Microsoft JVM is used then use "wjview" (instead of "jview") to start a GUI Java application from an icon.


blog comments powered by Disqus