Jump to content
Excelsior Forums
Kunibert

Run without Excelsior JET Runtime installation

Recommended Posts

Hello folks!

I'd like to run a JET compiled application on a computer on which I'm (and the application is) not able to write to the hard disk or install anything. The only permission I've got is to store one file on the system and to execute this file. Since it would be a very long story to explain these conditions I'd appreciate if you just take these facts as given. =)

So is there a way to kind of statically link the JET VM into the executable? Not in a way that is described in this video but in a way in which the application can be a single file which doesn't need to install anything and doesn't already require an installed Jet VM?

thanks for your help,

Kunibert

Share this post


Link to post
Share on other sites

Hello folks!

I'd like to run a JET compiled application on a computer on which I'm (and the application is) not able to write to the hard disk or install anything. The only permission I've got is to store one file on the system and to execute this file. Since it would be a very long story to explain these conditions I'd appreciate if you just take these facts as given. =)

So is there a way to kind of statically link the JET VM into the executable? Not in a way that is described in this video but in a way in which the application can be a single file which doesn't need to install anything and doesn't already require an installed Jet VM?

thanks for your help,

Kunibert

From technical point of view, our global compilation mode statically links Excelsior JET VM into the executable. However there are still many separate files required to run the executable such as Java SE native libraries (net, awt, etc.) and other resources. And there is no option to statically link those native libraries into the executable. You may try to play with things like this but it will require access to temp folder, that is prohibited anyway as I understand.

Share this post


Link to post
Share on other sites

Thank you - this might already help me a lot!

This is due to the fact that I realized that I'm also able to store a normal zip-archive on the computer. Once it got unzipped by an authorized program the specified main-file is being executed.

So am I able to tell JET where to search for the required files (assuming i stored them in a sub directory of the zip file)?

Share this post


Link to post
Share on other sites

Thank you - this might already help me a lot!

This is due to the fact that I realized that I'm also able to store a normal zip-archive on the computer. Once it got unzipped by an authorized program the specified main-file is being executed.

So am I able to tell JET where to search for the required files (assuming i stored them in a sub directory of the zip file)?

If you choose self-contained directory back-end in JetPackII then the resulting directory is what you need: you may zip it or just copy to the target machine. In this case the required files will be found by the main executable file automatically.

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

×