What is jNPad?
jNPad is a Simple Text Editor written in Java. It is designed to be easy to use, highly customizable and flexible.
Download jnpad-0.3.zip. Make a directory/map with the name "jnpad". Open the zip file and go into the directory "jnpad-0.3". Copy the subdirectories "props", "doc" and "icons" and the files "readme.txt", "build.xml" and "jnpad-0.3.jar" to the new directory "jnpad". That's all! An other way is to copy the directory "jnpad-0.3", rename this directory and delete all files in the root of the directory which are not named in the list above. In this directory are files for other OS systems, but which can be started in OS/2 with in the end an error.
The used cmd file
jNPad text editor works with Open JDK in OS/2-eCS. I have a jnpad.cmd file with the following contents;
@echo off set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin set path=[drive: java]\JAVA160ga5\bin set CLASSPATH= [drive: jnpad] cd [drive: jnpad]\jnpad java -Duser.home=[drive: jnpad]\jnpad -Xms64m -Xmx128m -jar jnpad-0.3.jar 2>jnpad-bugs.txtI use 2 separate folders (directories), one for Java and one for jNPad with the files created by this program. The references used in the cmd file;
should be replaced with real drive letters. Save the file and name it "jnpad.cmd" or use the file from the distribution. This file is copied to the "jnpad" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: jnpad]\jnpad\jnpad.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 "jNPad".
Parameters / options explained
In the file you can find the above command files (all drive letters are on set to C:) and an OS/2 jnpad icon: jnpad-ecs.zip.
revision June 17, 2017