Jump to content
Excelsior Forums
ultramixer

Compile to native without JRE?

Recommended Posts

We are very interested in a native compiling solution like JET. I tried JET and noticed that in the distribution there is a JRE directory..... Is it possible to completely remove this JRE? We want to compiler our application into native code without any dependencies to java libraries... Our goal is to distribute our java application as as "real" native application so nobody knows the java roots ;)

Is it possible to reach that goal?

Tobi

Share this post


Link to post
Share on other sites

Is it possible to reach that goal?

Hello,

First of all, existence of certain JRE parts is required by Sun Java Compatibility license.

Second, there are certain remains of the Java code in the compiled executables, such as a bit of reflection information.

But you may try to use third-party encrypting tools. We know that a number of our customers successfully use a tool called PC Guard. You may find more information about it on its home page at http://www.sofpro.com. This tool has quite useful features such as advanced software copy protection, application encryption, password protection, hardware locking and so on.

Note that if you use any kind of code encryption, you have to switch off the "Hide executable object names" protection options. Make sure to read this thread:

http://www.excelsior-usa.com/forum/index.php?topic=744.0

Also, there is a Knowledge Base article "HOWTO: Maximize protection of your application against reverse engineering" available at

http://www.excelsior-usa.com/kb/000023.html

Finally, you may find yet more information about encryption of generated files in the Excelsior JET User's Guide, Chapter "Deployment automation", Section "Installations protected by license managers".

Share this post


Link to post
Share on other sites

Hi Ultramixer,

The JRE directory does not contain a JRE, only a few librarries used by the native application.

So yes, everything known at compile-time will be compiled to native code.

Maybe the name "JRE" was not well choosen ;)

lg Clemens

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×