File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Executable files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Executable files" Watch "Executable files" New topic

Executable files

David Maddox

Joined: Feb 25, 2004
Posts: 12
Ok. I have just written a program but every time i want to run one i have to do it through command prompt by typing all the like " java whatever" Is there some way i can make a java file where all i have to do is double click it and it runs? I mean like turn a Java file into an exe file. I tried jars but they dont double click
[ February 26, 2004: Message edited by: David Maddox ]
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
use a jar file
read this:

java amateur
David Maddox

Joined: Feb 25, 2004
Posts: 12
i read the page, but it does not explain how to run a jar file from outside of the command line. If i want to give a program to afriend but he doesnt have the compiler(so he doesnt have the jar flag) how would i do it?
I agree. Here's the link:
subject: Executable files
It's not a secret anymore!