• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to make an exe for .class files ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone of you let me know how do i make an exe for .class files
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java is a VM, which means .class code runs on this and only
Java machine , real or virtual.

So the question is : what is an exe ?
if an exe is a doubleclickable icon, then just see Java Web Start
if not: it can be a command for windows or a script for unix ... in
which case you have to write down the instructions to launch the class
in the JVM.
There is e Just in time compiler , but I don't use it...
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As a matter of fact, I was having the same problem. I had to find an easy way of installing and running my Java-Applications under Windows. SUN should put some more work on this subject. Anyway, I was writing my own installer in C++ for my JAVA-Applications. But then I found a more convenient way. The answer is InstallAnywhere by Zero G:
http://www.zerog.com
If you register, then you can use freely a version of this application. It allows you to bundle any version of JVM or JRE you want with your program. It produces automatically an EXE file out of your CLASS file, and also icons to doubleclick on.
 
reply
    Bookmark Topic Watch Topic
  • New Topic