Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Compiling native

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic