View Single Post
  #2  
Old 03-26-2008, 01:28 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 319
amansundar is on a distinguished road
Default Re: exe file for java applications?

This is the sort of thing that scripting languages are used for.

Creating an EXE file for Java sources is generally bad attempt. Java is
designed to be completely platform independent .your .class files are able
to run on any OS and hardware platform. As soon as you package them
into an EXE file, however, you've now locked your code to run on ONE OS
on ONE hardware platform.

Instead of doing this, package your classes into a runnable JAR file.
Then create a script that will launch it for the user.
__________________
cheers
Aman
Reply With Quote