There is a PATH environment variable. Create a symbolic link to that spot at C: and call it CURRENTJAVA, then put CURRENTJAVA in the PATH. When Java versions change, change the CURRENTJAVA link to the new spot.
To all the programs and the PATH variable it seems like the Java location never changes.
java engines
Moderators: hgm, Rebel, chrisw
-
- Posts: 2055
- Joined: Mon Mar 13, 2006 2:31 am
- Location: North Carolina, USA
-
- Posts: 3245
- Joined: Thu Mar 09, 2006 9:10 am
Re: java engines
ChessGUI uses javaw.exe without a path.SzG wrote:I use very few java engines. Reason: whenever there is a java update, the java.exe path changes by following the version number and the engines do not see java.exe any more. To correct the path in each batch file is tiresome and I even might forget all occurrences.
There might be a solution for the engines to follow the path changes but I don't know it. Maybe some environment variable can be used? Can someone enlighten me?
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
http://www.chess.hylogic.de