 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guangzong Zhuo Guest
|
Posted: Tue Apr 12, 2005 5:56 pm Post subject: What does "native executable" means? |
|
|
It is said that JBuilder Developer edition and Enterprise edtion have the
feature called "native executable". What does it mean?
Does it mean that we could create standalone executable application
(independent of Java virtual machine) using JBuilder Developer edition or
Enterprise edtion, the executable application is an .EXE file with machine
codes inside like what we do with C++ compiler?
If this is true, what don't we compile Java program to native executable?
That will be faster in running than using byte code.
Thanks for your help in advance.
Guang
|
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Tue Apr 12, 2005 8:46 pm Post subject: Re: What does "native executable" means? |
|
|
Guangzong Zhuo wrote:
| Quote: | It is said that JBuilder Developer edition and Enterprise edtion have
the feature called "native executable". What does it mean?
|
It means that JBuilder can build a .EXE file that you can run directly
rather than call the program through the Java command-line.
| Quote: | Does it mean that we could create standalone executable application
(independent of Java virtual machine) using JBuilder Developer
edition or Enterprise edtion, the executable application is an .EXE
file with machine codes inside like what we do with C++ compiler?
|
No. The native executable is only an executable stub followed by the
byte-code JAR file. The stub locates the Java installation and
requires the JVM to run.
| Quote: | If this is true, what don't we compile Java program to native
executable? That will be faster in running than using byte code.
|
Java's byte code is pretty fast, thanks to the HotSpot optimizer.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Guang Guest
|
Posted: Wed Apr 13, 2005 6:36 pm Post subject: Re: What does "native executable" means? |
|
|
Thanks, Kevin Dean.
Guang
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote
| Quote: | Guangzong Zhuo wrote:
It is said that JBuilder Developer edition and Enterprise edtion have
the feature called "native executable". What does it mean?
It means that JBuilder can build a .EXE file that you can run directly
rather than call the program through the Java command-line.
Does it mean that we could create standalone executable application
(independent of Java virtual machine) using JBuilder Developer
edition or Enterprise edtion, the executable application is an .EXE
file with machine codes inside like what we do with C++ compiler?
No. The native executable is only an executable stub followed by the
byte-code JAR file. The stub locates the Java installation and
requires the JVM to run.
If this is true, what don't we compile Java program to native
executable? That will be faster in running than using byte code.
Java's byte code is pretty fast, thanks to the HotSpot optimizer.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
|
|
|
| Back to top |
|
 |
BK Guest
|
Posted: Fri Apr 22, 2005 11:49 pm Post subject: Re: What does "native executable" means? |
|
|
It's a misleading term because it implies it is compiled to native machine
instructions and you don't need the JVM to run it. "Binary Batch File" would
be a better description of what it is.
"Guangzong Zhuo" <zhuoguangzong (AT) sympatico (DOT) ca> wrote
| Quote: | It is said that JBuilder Developer edition and Enterprise edtion have the
feature called "native executable". What does it mean?
Does it mean that we could create standalone executable application
(independent of Java virtual machine) using JBuilder Developer edition or
Enterprise edtion, the executable application is an .EXE file with machine
codes inside like what we do with C++ compiler?
If this is true, what don't we compile Java program to native executable?
That will be faster in running than using byte code.
Thanks for your help in advance.
Guang
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|