masesgroup / JCOBridge-Examples

The repository contains examples files to use with JCOBridge. The examples are ready to run.
https://www.jcobridge.com
11 stars 2 forks source link

Windows work #1

Closed LuisCastilloV98 closed 3 years ago

LuisCastilloV98 commented 3 years ago

I have tried to implement your example (the one you have on youtube) and it does not work, I am working on a windows pc, set the JVMPath to "@" C: \ Program Files \ Java \ jre1.8.0_281 \ bin \ javaw.exe " " and it does not work. Add image of the error showing, greetings. Error1

LuisCastilloV98 commented 3 years ago

Correct path is: public override string JVMPath { get { return @"C:\Program Files\Java\jre1.8.0_281\bin\server\jvm.dll"; } }

mariomastrodicasa commented 2 years ago

Correct path is: public override string JVMPath { get { return @"C:\Program Files\Java\jre1.8.0_281\bin\server\jvm.dll"; } }

@LuisCastilloV98 you are right. JCOBridge expect the path to JVM.dll which is the real Java Virtual Machine: java.exe or javaw.exe are the CLI interfaces to the JVM.