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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "General doubt" Watch "General doubt" New topic
Author

General doubt

Ravi kapa
Ranch Hand

Joined: Jan 05, 2012
Posts: 86
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: 3056
    
  33

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
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

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


SCJP
Visit my download page
 
Don't get me started about those stupid light bulbs.
 
subject: General doubt
 
Similar Threads
Doubt
Doubt
Doubt on JAXB example
Doubt
Doubt