Skip to main content

How to run JIT without the whole JVM?

3 replies [Last post]
Joined: 2008-05-06

Is it possible to extract the code for JIT? I want to use it to convert a set of java class to native format before it deploy to the target machine. Because the target machine has no JDK installed. As you know that JIT can convert java bytecode to native code on the fly. Does any one know how to get the JIT run independent.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-01-07

Well, I just can assume that he/she would prefer something like this:
Its really an excellent, and worth every dollar.

Joined: 2004-05-05
Joined: 2008-05-01

That's exactly what the JVM is for; you would need to build your own JVM (no small project) to avoid using an existing one.

You might as well just package the JRE with your program. On the other hand, you could read the specs to find out what your custom JVM would need.