What is jEdit?
jEdit is a programmer's text editor written in Java. It uses the Swing toolkit for the GUI and can be configured as a rather powerful IDE through the use of its plugin architecture.

JEdit's features are:
  • Written in Java, so it runs on Mac OS X, Unix, VMS, Windows and OS/2.
  • Built-in macro language; extensible plugin architecture.
  • Hundreds of plugins can be downloaded and installed from within jEdit using the plugin manager feature.
  • Auto indent, and syntax highlighting for more than 200 languages.
  • Supports a large number of character encodings including UTF8 and Unicode.
  • Folding for selectively hiding regions of text.
  • Word wrap.
  • Highly configurable and customizable.

System requirements
  • Version 1.6.0 Build 27 GA5 (2013-02-17)

jEdit on an eComStation machine with Open JDK

Installing jEdit
Download jEdit-5.1.0-os2.zip (6.6Mb). Create a folder (directory) "jEdit". Unzip the zip file to the new folder (directory). That's it. Next versions needs a higher version of Java. Don't download this version of jEdit from https://sourceforge.net/projects/jedit/files/jedit/5.1.0/. That one doesn't work properly in OS/2! The link gives an updated version from the OS/4 team.

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

  • [drive: java] = drive with Java
  • [drive: jEdit] = drive with jEdit

should be replaced with real drive letters. Edit and save the file with a name of your choice or use the file from the distribution. This file is copied to the "jEdit" folder (directory). Furthermore, different paths?, adjust according to your needs.

Parameters / options explained
  • The statement "-Duser.home=[drive: jEdit]\jEdit" will ensure that jEdit will save all necessary files in own directory instead of saving them in the home directory.
  • The specification "-Xmx192M" comes from an old jedit.cmd from an earlier version. The "-Xmx192M" indicates the maximum limit.
  • The addition "2>jeditbugs.txt" ensures that errors are saved in the file "jeditbugs.txt". The 2 in "2>" is not a typo!

In the file you can find the above command file (all driveletters are set to C:) and a jEdit icon: jeditecs.zip.

revision August 2, 2016