JChessBoard
JChessBoard is a chess board written in Java that can be connected to another JChessBoard via a direct TCP/IP connection. No Internet Chess Server is required for playing.

System requirements
  • Minimum JRE version is 1.6 (Java version 1.4.2 is not compatible)
  • Preferably 1024 x 768 resolution or better.


JChessBoard on an eComStation machine with Open JDK


Installing JChessBoard
Download the file JChessBoard-1.5.zip. Create a folder(directory) "jchessboard" or something similar which fits your needs. Open the zip file and go into the folder(directory) "JChessBoard-1.5". Copy then all the contents of this folder(directory) to the new created folder(directory). That's all!

The used chess.cmd file
JChessBoard works with Open JDK in OS/2-eCS, but I didn't test the network. I have made a "chess.cmd" file with the following contents;
@echo off
set CLASSPATH=
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: jchessboard]
cd [drive: jchessboard]\jchessboard
java -Duser.home=[drive: jchessboard]\jchessboard -jar jchessboard.jar 2>jchessboard-bugs.txt
I use 2 separate folders (directories), one for Java and one for JChessBoard with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: jchessboard] = drive with JChessBoard

should be replaced by real drive letters. Adjust the file from the distribution below, ie. different drive and directories. Save "chess.cmd" and copy it to the "jchessboard" folder (directory).

Create a new program object. Specify the path and file name: "[drive: jchessboard]\jchessboard\chess.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "JChessBoard". The download also has an OS/2 icon.

Parameters / options explained
  • The specification "-Duser.home=[drive: jchessboard]\jchessboard" will ensure that JChessBoard will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>jchessboard-bugs.txt" ensures that errors are saved in the file "jchessboard-bugs.txt". The 2 in "2>" is not a typo!

Download
In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 JChessBoard icon: chess-ecs.zip.

revision August 18, 2016