Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

how to make an exe for .class files ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic