A related question!
"Tom Duffy" <firstname.lastname@example.org> wrote:
>I've had better luck with writing a simple batch file. Something like this
>deals with classpath pretty easily:
>This assumes that java is in your path statement. If not, use the fully
>qualified path to java.exe.
>You can write these in Notepad, save them wherever you like, and then drag
>them to your desktop.
>"Paul Clapham" <email@example.com> wrote:
>>Yes, you can. Create a shortcut: Right-click on the wallpaper, select
>>then Shortcut. For "Command line" enter something like
>>"D:\jdk1.2.2\jre\bin\Javaw.exe MyProgram", where "MyProgram.class" is what
>>you want to run. (Use the actual path to your JRE; Javaw.exe runs without
>>the DOS console visible, Java.exe shows the console. You can use either.)
>>You may need to insert parameters such as -classpath, and you may also
>>to edit the Properties of the shortcut you created to change the "Start
>>directory to be where your class is.
>>Nijo Varghese <Nijo@Mypad.com> wrote in message
>>> Can I make a Java application which can be started by double clicking(in
>>> on icon instead of running it from DOS prompt? If possible, how can I
>>> it ?
>>> Regards, Nijo
I wonder if I can make a java application run at everywhere with
anyone double clicking on it.(Can I make a setup program for the
application and after it,everyone can use it by double clicking)
Thanks a lot!
Re: A related question!
You might want to look into Install Anywhere from ZeroG software. With this
program you can create an install and a native executable wrapper for your
Java app. It will create this executable wrappers for a number of platforms.
I've used it for Windows and the Macintosh. You can also configure it to
install the VM of your choice and no VM needs to be installed before hand.
I don't work for ZeroG but have been a satisfied customer for the last year
>I wonder if I can make a java application run at everywhere with
>anyone double clicking on it.(Can I make a setup program for the
>application and after it,everyone can use it by double clicking)
>Thanks a lot!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL