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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In Windows, Associating .class files with javac.exe NoClassDef

Status
Not open for further replies.

Goku81

Programmer
Mar 27, 2001
34
US
I have associated my .java files with the javac.exe compiler no problem. but I can't get the .class files to associate with a right mouse click/run command in windows because java.exe won't let you run a program like this...java myclass.class
is there any way around this. I already created this file type but just want windows file types to be able to run the program without the .class extension part. Any sugggestions?
 
Hi,

I have 3 round abouts to your solutions.

1st, Create a .jar file

2nd, Create a batch file and within it, just put java myclass

3rd, Go to any search engine and search for something called "JET". It allows you to convert .class files to .exe files.

Regards,
Leon If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top