JInvaders
JInvaders is a java clone of the well known videogame Space Invaders from Taito Inc.

System requirements
  • Minimum JRE version is 1.6


JInvaders on an eComStation machine with Open JDK


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

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

  • [drive: java] = drive with Java
  • [drive: jinvaders] = drive with JInvaders

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

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

Parameters / options explained
  • The specification "-Duser.home=[drive: jinvaders]\jinvaders" will ensure that JInvaders will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>jinvaders-bugs.txt" ensures that errors are saved in the file "jinvaders-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 JInvaders icon: jinvaders-ecs.zip.

revision June 18, 2017