(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) Compiler :
I want to compile my Java application into .exe (or some other native binary form.) How do I do this with JBuilder?
JBuilder's compiler does not produce native binaries. If you want your application compiled directly into .exe format, you need to find a 3rd party product such as JOVE, JIKES, etc.

If you just want to launch your application easily, you can make use of the launcher provided with JBuilder itself. Here's a Borland FAQ that discusses it:

   http://community.borland.com/article/0,1410,22496,00.html

2001-May-09 9:48am gyles19@visi.com
Here's a partial list of native compilers:

  Jove: http://www.instantiations.com/
  Jet:  http://www.excelsior-usa.com/

2002-Mar-07 6:40am gyles19@visi.com
See also this page:
    http://www.bearcave.com/software/java/comp_java.html

2001-Jun-20 9:08am gyles19@visi.com
jikes is a native compiler, but not in the sense implied here.
javac is written in java and compiled to bytecode, javac takes java source and outputs java bytecode.
jikes is written in C/C++ and compiled to native code. Jikes takes java source and outputs java bytecode.
gcc is a native compiler as implied here. It takes java source code and/or java bytecode and produces native platform specific binaries.
http://gcc.gnu.org/java/
2001-Jul-03 9:09pm daniel.carter@stonebow.otago.ac.nz
For building native binary executables on Mac OS X, Eric Trepanier writes:

You need to use MRJAppBuilder, which is a part of the freely available Mac OS X developer tools which you can get at http://connect.apple.com (free registration required). The included documentation is rather sparse (as far as MRJAppBuilder is concerned), but you can read a pretty good tutorial article on O'Reilly's Mac DevCenter at:

  http://www.oreillynet.com/pub/a/mac/2001/07/06/osx_java.html

2002-May-27 7:58am gyles19@visi.com
Eric Trepanier recommended MRJappBuilder for compiling Java to native binary, but it is not a native compiler -- in fact it isn't a compiler at all. It's just a packaging tool that you can use to place your Java bytecode in an OS X "application" wrapper; the wrapper takes care of invoking the java interpreter with your bytecode.
2004-Jul-31 11:06pm karlzimmerman@comcast.net
[Append to This Answer]
2004-Jul-31 11:06pm
Previous: (Answer) JBuilder won't compile just one file. No matter what, it compiles more stuff than I want. How can I make JBuilder compile only the file I want compiled?
Next: (Answer) I'm trying to compile a project and I'm getting something about "Error 900: out of memory". This project doesn't seem to be that big.
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=159
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]