View Single Post
  #3  
Old 03-26-2008, 02:35 AM
saravanan saravanan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 180
saravanan is on a distinguished road
Default Re: exe file for java applications?

Quote:
Originally Posted by amansundar View Post
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.
hi!

thanks for your intrest

but i need to package my application with all supporting files and class files. i need to make it as a single installer to run on client machine. now i am using jar files but i need to install jre to run the jar. totally i need to install the back end then the jdk then my package. please refer me a single process to do all the process.
Reply With Quote