Víctor
Víctor

Reputation: 426

is it possible to execute a jar file using jvm.dll. instead of java.exe?

I have a installer with a JRE embebed, that is, it have a jvm.dll instead a java.exe. What i would like to do is to execute a Java app (a jar file) using jvm.dll instead of java.exe.

Is it that possible?

Upvotes: 0

Views: 791

Answers (2)

tarabor
tarabor

Reputation: 166

I think that's not possible, unless you don't embed your java application in a C++ application.

Further reading:

Difference between java.exe, javaw.exe and jvm.dll

Embed Java into a C++ application?

Upvotes: 0

talex
talex

Reputation: 20474

It is possible.

You have to write C/C++ program to achieve it (or in other language able to do native calls).

Upvotes: 1

Related Questions