Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to launch Java class w/out DOS shell 2

Status
Not open for further replies.

ReeKetta

Programmer
Aug 17, 2001
3
US
Hi,
Does anyone know of a program that you can use to launch your java classes without the launch of a DOS shell. I would like to double-click on a file and have it launch my java class.

Thanks,
Ree
 
You could set your File Types in Windows to automatically execute a .class with java.exe/javaw.exe or you could create a shortcut that executes the necessary command. Wushutwist
 
I've done it by creating a shortcut as wushutwist says. fairly straightforward, just get the shortcut to execute c:\jdk1.2.1\bin\java.exe application (I only have 1.2.1).

and make it execute in the directory that holds your class files. Simple.
 
Hey, can't take the credit for this one, wushutwist - have a star...

pipk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top