Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Excelsior jet standard vs. pro editions  (Read 2404 times)
0 Members and 1 Guest are viewing this topic.
Offline Noobtastic

Senior Newbie





« Posted 2011-02-16 15:11:17 »

I noted on some older threads on the forum here that there was a key difference in function between the standard and pro versions of Jet.  That is, only pro produced an exe independent of needing a jvm.  Is that still the case?  I note on the excelsior website that the feature matrix shows all three versions (ent, pro, std) have AOT compiling, described as follows:

Highly optimizing compiler that runs on a developer system. It translates Java bytecode instructions into optimized x86 (IA-32) code and converts your Java application's classes and jars into conventional Windows EXE and DLL files or Linux executables and shared objects.

Wondering if perhaps now standard is a viable option, whereas before it sounded like only pro was.


Offline dleskov

Senior Devvie


Medals: 20



« Reply #1 - Posted 2011-02-17 09:47:16 »

You are mixing "JVM" and "JRE".

The Excelsior JET Runtime contains, and has always contained a JVM, so applications compiled with it never required a second JVM. But, prior to version 4.0 only the applications not using Swing/AWT and compiled with the Professional Edition could work without the JRE. To cut the long story short, the reason was not the JVM, but the standard library.

The situation is indeed much different now. JRE is never required anymore because we have since licensed Java from Sun and included the standard Java SE library with Excelsior JET.

However, I would still recommend you stick with the Professional Edition, for two reasons:

1. It provides the capabilities to improve the startup time and reduce the download size of compiled applications.

2. It is available under a special licensing program. Under certain circumstances, it may cost you less than the list price of the Standard Edition.

Offline princec

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2011-02-17 11:37:22 »

I'm still waiting for an ARM backend, Dmitry Smiley I think there's a huge pile of cash in there.... I'd buy an ARM JET for $10k right now.

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline dleskov

Senior Devvie


Medals: 20



« Reply #3 - Posted 2011-02-17 11:43:19 »

I'm still waiting for an ARM backend, Dmitry Smiley I think there's a huge pile of cash in there.... I'd buy an ARM JET for $10k right now.

Cas Smiley
If you think you would still want it in 2012, find 49 more people like you, give us half the money up front and put the rest in escrow. Smiley

Offline Noobtastic

Senior Newbie





« Reply #4 - Posted 2011-02-17 18:54:02 »

Thanks very much for your response.  A follow-up, if I may:

I'm confused now about exactly what is produced from Excelsior Jet.  I had thought that a Java application would be compiled down to native code, and that that native code (exe) consisted of only the bytes needed to run the exe on a given OS.  Is that accurate?

Is it the case that the exe produced also contains a JVM?  Or is it just that the JVM is present in the Jet tool, and is used when creating the native exe?

Sorry for my simplistic questions -- I am a confessed newbie. Smiley


Offline dleskov

Senior Devvie


Medals: 20



« Reply #5 - Posted 2011-02-18 04:58:46 »

Thanks very much for your response.  A follow-up, if I may:

I'm confused now about exactly what is produced from Excelsior Jet.  I had thought that a Java application would be compiled down to native code, and that that native code (exe) consisted of only the bytes needed to run the exe on a given OS.  Is that accurate?

Is it the case that the exe produced also contains a JVM?  Or is it just that the JVM is present in the Jet tool, and is used when creating the native exe?
What Excelsior JET does is it compiles Java bytecode down to native code. But your application remains a Java application, so it needs all the other facilities provided by a JVM: garbage collection, threading, JNI, etc. So yes, there is a JVM in the runtime.

Then, your application may create classes on the fly (e.g. dynamic proxies), or load classes that were not known at the time of native compilation (e.g. third-party plugins.) In order to handle those classes, the underlying JVM must provide either an interpreter (as GCJ does) or a JIT compiler (as Excelsior JET does). In fact, you may compile just the class containing the main() method and leave the rest to the runtime...

In other words, Excelsior JET is technically a complete Java SE implementation. It just enables you to precompile the known classes down to native code prior to deployment. It also has a couple of interesting deployment options to help you reduce the download size and disk footprint of your Java apps.

See Excelsior JET Technology Overview for details.

Pages: [1]
  ignore  |  Print  
 
 

 
Ecumene (146 views)
2017-09-30 02:57:34

theagentd (213 views)
2017-09-26 18:23:31

cybrmynd (295 views)
2017-08-02 12:28:51

cybrmynd (284 views)
2017-08-02 12:19:43

cybrmynd (294 views)
2017-08-02 12:18:09

Sralse (287 views)
2017-07-25 17:13:48

Archive (966 views)
2017-04-27 17:45:51

buddyBro (1092 views)
2017-04-05 03:38:00

CopyableCougar4 (1663 views)
2017-03-24 15:39:42

theagentd (1425 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!