• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating an exe file from java application files  RSS feed

 
Abhilash Mutugudurmut
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we create an exe file from java application files/class files
if the answer is yes then how?
if it is no then what abt a client who does not know how to enter commands through prompt.
client machine should be installed with a JVM/J2SDK for operating the application.
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Abhilash Mutugudurmut:
Can we create an exe file from java application files/class files
if the answer is yes then how?
if it is no then what abt a client who does not know how to enter commands through prompt.
client machine should be installed with a JVM/J2SDK for operating the application.



Although in market there are so many installers now which can create an Installer package for you...

But it's basically violating the rule of Platform Independancy

As an alternative method You can set up the whole package structure and create/bundle a executable jar file with all your application classes.

or you can create a batch file where you can write simple one instruction

java MainApplicationClass


This may solve your problem
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!