Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem running JNI_CreateJavaVM from Windows service

f5575d79-2665-434b-965d-6ed36e9743cbNov 16 2014 — edited Nov 25 2014

Hi,

When i run my code from console it works find: the jvm gets created and runs my application. however, if i run the executable as a windows service JNI_CreateJavaVM fails and returns -1.

Do I need to configure something in my service for it to work?

Thanks

Itamar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2014
Added on Nov 16 2014
1 comment
1,328 views