http://www.google.com/search?q=java+launch+windows+without+dos+window&btnG=Search&hl=en&lr=

yields

http://wiki.java.net/bin/view/Netbeans/UserFaqMiscellaneous#_Launching_a_Java_app_in_Windows

I did not find Java web start especially hard to use. The hardest part was getting a certificate.

I found this:

www.dallaway.com/acad/webstart/

pretty helpful, but it is down ATM

thank the google, love the google, serve the google, the google is good, the google is not evil: http://64.233.187.104/search?q=cache:IguXU6DqlsYJ:www.dallaway.com/acad/webstart/+java+web+start+email+certificate&hl=en

Though you do not need to use ant as the author suggests, you can use jarsigner: http://javaalmanac.com/egs/java.util.jar/CreateJar.html

Though I had to do -J-Xmx256mb to get it to work.

-andy


Richard O. Hammer wrote:
Is there an easy way to launch a Java Swing application in Windows 2000 without opening a DOS command window?

I know that I can make a .bat file containing "java ClassName" and then double click on the file name, or create a shortcut to the .bat file, but that always seems to open the command window which stays open as long as the application is running.

My Googling has found Java Web Start, a lot about Java Web Start. I've started looking at that and it looks like probably it would be easier to learn to use Java Web Start for my "hello world" application than it would be to get a Masters degree.

But I still imagine that it can be easy. I am not concerned about security. I am not loading anything over the net. I just want to start my local application with no more hassle than starting Notepad.

Can I create a Windows shortcut that says something like
java -classpath path1;path2 MyClass
to the Windows OS, without opening a command window?

Thanks,
Rich Hammer

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org




_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to