BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What does "native executable" means?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
Guangzong Zhuo
Guest





PostPosted: Tue Apr 12, 2005 5:56 pm    Post subject: What does "native executable" means? Reply with 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
Kevin Dean [TeamB]
Guest





PostPosted: Tue Apr 12, 2005 8:46 pm    Post subject: Re: What does "native executable" means? Reply with quote



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





PostPosted: Wed Apr 13, 2005 6:36 pm    Post subject: Re: What does "native executable" means? Reply with quote



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





PostPosted: Fri Apr 22, 2005 11:49 pm    Post subject: Re: What does "native executable" means? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.