Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which java version #6

Closed
SzotsGabor opened this issue Apr 29, 2020 · 5 comments
Closed

Which java version #6

SzotsGabor opened this issue Apr 29, 2020 · 5 comments
Assignees

Comments

@SzotsGabor
Copy link

When I used Java 8 I had no problem using Bagatur via Bagatur_64_1_core.exe. Yesterday I deleted Java 8 and installed JDK 14 and now Bagatur does not find Java VM although I have the path environment variable correctly modified.
I am no programmer and don't know what the problem might be. Shall I reinstall Java 8? I would do that reluctantly because some engines (e.g. chess22k) don't work with it and the path would point to the wrong java for them.
What do you suggest?

Regards,
Gabor Szots
CCRL testing group

@bagaturchess
Copy link
Owner

bagaturchess commented Apr 30, 2020 via email

@SzotsGabor
Copy link
Author

It is 64-bit.

@bagaturchess
Copy link
Owner

bagaturchess commented Apr 30, 2020

Hi Gabor Szots,

I assume that we are talking about Windows operating system ...

Could you please try to edit the Bagatur_64_1_core.ini file?

It is about the line ";vm.location=C:\jdk1.6.0_07\jre\bin\client\jvm.dll".
First remove the ";" symbol and then edit the vm.location variable to point to the right jvm.dll file on your file system. It should be somewhere inside the JDK 14 installation folder like \jre\bin\client\jvm.dll.
Another option is to set the "vm.location=%JAVA_HOME%" if you have JAVA_HOME system variable set.
I am looking forward for your feedback ...

Best Regards,
Krasimir

@SzotsGabor
Copy link
Author

Hi Krasimir,

I have found the file at c:\Program Files\Java\jdk-14.0.1\bin\server\jvm.dll and after editing the ini Bagatur works again. :)
I will now remember to edit that file again if I ever upgrade my java.
Thanks for the quick help.

Keep up the good work.

Best regards,
Gabor

@bagaturchess
Copy link
Owner

Hi Gabor,

I am also happy to hear that it works again. :-)

Best Regards,
Krasimir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants