DexPuxzle
DexPuxzle is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing. The object of the puzzle is to place the tiles in order by making sliding moves that use the empty space. You can read more on the wiki page about this kind of puzzles.

System requirements
  • Minimum JRE version is 1.6


DexPuxzle on an eComStation machine with Open JDK


Installing DexPuxzle
Download the file DexPuxzle.jar. Create a folder(directory) "DexPuxzle" or something similar which fits your needs. Copy the file "DexPuxzle.jar" to the new created folder(directory). That's it!

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

  • [drive: java] = drive with Java
  • [drive: dexpuxzle] = drive with DexPuxzle

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

Create a new program object. Specify the path and file name: "[drive: dexpuxzle]\dexpuxzle\dexpuxzle.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 "DexPuxzle". The download also has an OS/2 icon.

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

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

revision January 8, 2016