Java problem!

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Java problem!

Post by Guenther » Mon Nov 13, 2017 8:25 pm

Just today I noticed that none of my native WB/UCI java chess programs works anymore here.
My guess is that since the latest update 8.151 (Oct 23), which will be replaced by java 9 soon anyway, they won't be executed anymore.
Can someone confirm this with 8.151?

Guenther
Guenther Simon
http://rwbc-chess.de/

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Java problem!

Post by SzG » Mon Nov 13, 2017 8:41 pm

Guenther wrote:Just today I noticed that none of my native WB/UCI java chess programs works anymore here.
My guess is that since the latest update 8.151 (Oct 23), which will be replaced by java 9 soon anyway, they won't be executed anymore.
Can someone confirm this with 8.151?

Guenther
My engines with 64-bit 8.151 work OK.
Gabor Szots

CCRL testing group

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Java problem!

Post by Guenther » Mon Nov 13, 2017 8:45 pm

SzG wrote:
Guenther wrote:Just today I noticed that none of my native WB/UCI java chess programs works anymore here.
My guess is that since the latest update 8.151 (Oct 23), which will be replaced by java 9 soon anyway, they won't be executed anymore.
Can someone confirm this with 8.151?

Guenther
My engines with 64-bit 8.151 work OK.
Really the native only engines? Just jar no Jet compiles or whatever (e.g. NOT Bagatur)
Last edited by Guenther on Mon Nov 13, 2017 8:58 pm, edited 1 time in total.
Guenther Simon
http://rwbc-chess.de/

tmokonen
Posts: 901
Joined: Sun Mar 12, 2006 5:46 pm
Location: Vancouver

Re: Java problem!

Post by tmokonen » Mon Nov 13, 2017 8:45 pm

Like Gabor, I have no problems running Java based engines (Chess22k 1.5, Frittle 0.4, Bagatur 1.5e, all jar versions) with the 64 bit version of Java 1.8.0_151. I am curious, are you using the 32 bit version, Guenther? And are the programs remaining in memory, or simply crashing and exiting?

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Java problem!

Post by SzG » Mon Nov 13, 2017 8:53 pm

Guenther wrote:
SzG wrote:
Guenther wrote:Just today I noticed that none of my native WB/UCI java chess programs works anymore here.
My guess is that since the latest update 8.151 (Oct 23), which will be replaced by java 9 soon anyway, they won't be executed anymore.
Can someone confirm this with 8.151?

Guenther
My engines with 64-bit 8.151 work OK.
Really the native only engines? Just jar no Jet compiles or whatever (e.g. Bagatur)
I tried only bat files with java... etc.

No time to check now, Italy-Sweden is in progress.
Gabor Szots

CCRL testing group

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Java problem!

Post by Guenther » Mon Nov 13, 2017 8:57 pm

tmokonen wrote:Like Gabor, I have no problems running Java based engines (Chess22k 1.5, Frittle 0.4, Bagatur 1.5e, all jar versions) with the 64 bit version of Java 1.8.0_151. I am curious, are you using the 32 bit version, Guenther? And are the programs remaining in memory, or simply crashing and exiting?
They simply don't load Tony.
I have Java 32 and 64 bit installed.

Oops I have a strange idea now! For more systematic naming in my installations and for my batch, which creates automatically a json file
from my wb.ini for use in cute/cute-cli I renamed some paths to engine folders e.g. .\Engines\JAVAWB to ...\WBJAVA and same for UCI.
May be the prefetch harms here!? I will check and delete all prefetch data.

Well that idea was too weird and did not help :(
WB2UCI simply says 'died on me' and Polyglot says 'file not found' despite it is there. No idea what this can be w/o any further change than path renaming a while ago. (even tried full paths, but did not help)
Guenther Simon
http://rwbc-chess.de/

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Java problem!

Post by Guenther » Mon Nov 13, 2017 9:46 pm

My first suspicion was correct. After uninstalling all Java 8.151 installations and reinstalling 8.u141 from July
(I found a tech site offering older java archives with a simple download - unlike oracle, which also had archives
of older versions for testing, but asked for registration and practically a full biography with at least 12 mandatory fields
e.g. phone number at work at home etc....disgusting for a free download of an old thing), all java native programs work again!

Except the new Chess22k 1.6 of course ;-)

It seems java 8.151 on WIN7 behaves different otherwise I don't understand why both of you, if really tried plain jar files, don't have this problem.

Guenther
Guenther Simon
http://rwbc-chess.de/

tmokonen
Posts: 901
Joined: Sun Mar 12, 2006 5:46 pm
Location: Vancouver

Re: Java problem!

Post by tmokonen » Tue Nov 14, 2017 1:03 am

Maybe it does have something to do with the OS then. I have Windows 10.

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Java problem!

Post by Guenther » Tue Nov 14, 2017 6:18 am

tmokonen wrote:Maybe it does have something to do with the OS then. I have Windows 10.
With Java 9 all will get this problem though. Already googling about the
best way using 2 parallel installations.
Guenther Simon
http://rwbc-chess.de/

sandermvdb
Posts: 122
Joined: Sat Jan 28, 2017 12:29 pm
Location: The Netherlands

Re: Java problem!

Post by sandermvdb » Tue Nov 14, 2017 10:18 am

Guenther wrote: With Java 9 all will get this problem though. Already googling about the
best way using 2 parallel installations.
Which engine does not work properly with Java 9? Let me have a look.
(and maybe it is better to ask java related questions in this topic instead of the chess22k 1.6 topic)

Post Reply