aspose file tools
The moose likes Java in General and the fly likes General doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "General doubt" Watch "General doubt" New topic

General doubt

Ravi kapa
Ranch Hand

Joined: Jan 05, 2012
Posts: 87
I have some more general doubt about java.....If i created a programe n compile and i got .class files then how can i use my .class files as runnable software(like .exe files of any software)......can any one suggest me....
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3101

Hi Ravi, Similar questions have been asked before on the forum. I found this discussion useful.

Also in future please UseAMeaningfulSubjectLine.

Mohamed Sanaulla | My Blog
Rob Spoor

Joined: Oct 27, 2005
Posts: 19844

Why not just create a JAR file with the Main-Class attribute set appropriately?

How To Ask Questions How To Answer Questions
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347

there have been discussions about this recently(try searching). you can make an executable jar or use third party software to actually make a .exe
there is also web start now but i know little about that

Visit my download page
I agree. Here's the link:
subject: General doubt