• 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

Compiling native

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that there are IDEs out there that allows us to compile a Java 1.2x application into native code ie an 'exe', however, are there any IDEs that allows us to compile Java 1.2x classes into native dll?
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What you may have seen (e.g. MS VISUAL J++)..., what these IDEs do is create the equivalent of a JAR and call it EXE. In other words, you still need a Java Virtual Machine to run the program.
I have heard of native compilers but I do not know anything about them. In my opinion, they would be useless if one is trying to do WORA ("Write Once Run Anywhere") Java...
My $0.02
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
You should check out the GCJ compiler - it compiles to native byte-code. There's a pretty decent tutorial on this at eclipse.org (or maybe ibm.com/developerworks - i forget which).
hth
Robin
reply
    Bookmark Topic Watch Topic
  • New Topic