🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.compiler
4 messages
4 total messages Started by Guangzong Zhuo Tue, 12 Apr 2005 17:56
What does "native executable" means?
#11
Author: Guangzong Zhuo
Date: Tue, 12 Apr 2005 17:56
14 lines
1418 bytes
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
Re: What does "native executable" means?
#12
Author: Kevin Dean [TeamB]
Date: Tue, 12 Apr 2005 20:46
34 lines
2291 bytes
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
Re: What does "native executable" means?
#13
Author: Guang
Date: Wed, 13 Apr 2005 18:36
40 lines
2562 bytes
Thanks, Kevin Dean.

Guang

"Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com> wrote in message
news:xn0e0x1hdijmce000-kdean@www.teamb.com...
> 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
Re: What does "native executable" means?
#16
Author: BK
Date: Fri, 22 Apr 2005 23:49
23 lines
1882 bytes
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@sympatico.ca> wrote in message 
news:425c09c0$1@newsgroups.borland.com...
> 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
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads