What is EJE?
EJE stands for Everyone's Java Editor and is a simple Java editor, perfect to learn Java, without learning a complex development tool. EJE is multi-platform (written in Java), light- weight, user-friendly and have several useful basic features. A good help to start with Java!

EJE's features are:
  • Compile & Execute directly from EJE in the simplest way
  • Java syntax highlighting
  • Code Fragments Template
  • Shortcuts complete set
  • Javadoc support
  • Printing support
  • Java Documentation visible through an internal browser
  • And many other cool features

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


EJE on an eComStation machine with Open JDK


Installing EJE
Download eje_3.2.zip (488Kb). Open the zip file, you will find a directory with the name "EJE". Copy this directory to your disk. Delete the batch files in this directory, they are not for OS/2. That's it. Next version needs a higher version of Java.

The cmd file
The program works well with OpenJDK in OS/2-eCS. I have a eje.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160\bin
set path=[drive: java]\JAVA160\bin
set CLASSPATH=
set JAVA_HOME=[drive: java]\JAVA160\bin
set SWING_HOME=[drive: java]\JAVA160\bin
set JAVAPATH=[drive: java]\JAVA160
[drive: EJE]
cd [drive: EJE]\EJE
java -Duser.home=[drive: EJE]\EJE -classpath . com.cdsc.eje.gui.EJE 2>eje-bugs.txt
I use 2 separate folders (directories), one for Java and one for EJE with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with the developer version (SDK) of Java!
  • [drive: EJE] = drive with EJE

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 "EJE" folder (directory). Furthermore, different paths?, adjust according to your needs.

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

Running the program
It will ask you to download the next version. You get the wrong version, the one which is already installed. So your answer will be NO! Program starts. Next question is where it can find the SDK. I tried everything, but it looks like it doesn't understand the OS/2-eCS system and want a specific directory. Use the button "cancel". I did try to compile the program "Hello World". This program did build, see screenprint. Did ask the developer and got an answer, have to fix it myself. Okay, browsing through the source it wants a directory "jre". This stands for Java Runtime Edition, not the Java Developer Kit. May be one day I will compile it again, OS/2-eCS way.

EJE on an eComStation machine with OpenJDK and ready with compiling a program


Download
In the file you can find the above command file (all driveletters are set to C:) and a EJE icon: EJE-ecs.zip.

revision Februari 14, 2017