Forum Stats

  • 3,827,153 Users
  • 2,260,746 Discussions
  • 7,897,182 Comments

Discussions

Problem running JNI_CreateJavaVM from Windows service

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

Answers

This discussion has been closed.