• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

*.exe java program

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can I somehow get an exe from an java programm? Someone told me about a wrapper but didn't had any links. Can you help me with that? Thank you!
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vrabie,

To answer your question, the easiest way to get an EXE file for your JAVA program, is to use a nice little program called 'exe4j'. To use this, simply compile your java program into a .JAR file and then run exe4j on it to make it into an executable jar file.

I.e if your program was called myProgram.jar, it will now be called myProgram.exe and will run when double clicked.

Cheers,
Steve
 
Vrabie Cristian
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your help. Nice stuff but not very cheap! Does anyone knows something less expensive?
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
gcj may work for you. GCJ Note I have never used this but my understanding is that it will do what you want.
 
Vrabie Cristian
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, it works just fine. Thanks!
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, guys for the great software to generate .exe for Java Program... I've been using JBuilder's exe generator, which I cannot use it at home, since I cannot buy a JBuilder for my own use at home... It's good that there are such free softwares to deal with .exe file for Java programs...

Thanks...
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you tell me 3 things, please:

How big is the exe-file?
How big was the jar-file?
Can you execute that exe-file on a machine without a current jre?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic