This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Applets and the fly likes how to create .exe for applet 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 » Applets
Bookmark "how to create .exe for applet" Watch "how to create .exe for applet" New topic
Author

how to create .exe for applet

anu sav
Ranch Hand

Joined: Jan 30, 2009
Posts: 47
Hi,
I have created one java applet file for particular task(e g.,bouncing ball animation ). how to create exe(or deliverable) file of it . so that it can be given to anybody to run without code. Means i just want to double click on that file and it should run.

Thanks
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Have you studied or created Jar files? If not, you would do well to check out the Sun tutorial on how to create these useful critters. Much luck!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Applets are delivered via a web browser - all you need to do is to put it on a web server. If you intend to deliver the application some other way, then a double-clickable jar containing an application (not an applet) is the right way to go, as Pete says.


Ping & DNS - updated with new look and Ping home screen widget
anu sav
Ranch Hand

Joined: Jan 30, 2009
Posts: 47
Thanks guys..
that means i have to covert my java applet to java application. ''
no way for java applet .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
What's wrong with serving it from a web server your friend can access?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create .exe for applet
 
Similar Threads
exe file in java
its urgent
can u help me out
how to create exe file
how to conver .jar to .exe file