• 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

Java class files as executables?

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My understanding is that you need to have a Java runtime environment to execute .class files. What if you want to send your java application to someone else. Will they need to make the big honkin' download from Sun or is there some way to make my .class file into an executable?
All help appreciated...
Mark
 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
You can convert a Java APPLICATION into an .exe with Cafe or even Visual Age I beleive... but this does not really mean you can convert a 'class' into an exe. This is obvious if you consider an application is the use/manipulation of 'objects' created from a 'class', and a class is merely a definition of a 'data type'.
I am not sure if the 1.3 jdk comes with any native compilers/linkers.
In my experience I have still had to package the JRE with my .exe to get it to work properly.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic