jPicEdt
jPicEdt is a vector-based drawing editor for LaTeX and related packages (TikZ, PsTricks,...), written in Java. It is also a library of reusable high-level graphic primitives.

Features;
  • Pstricks code generation and parsing
  • TikZ code generation
  • DXF code generation (simplistic only)
  • LaTeX picture environnement code generation
  • LaTeX epic/eepic code generation
  • Standalone or includable LaTeX file
  • Native LaTeX text support
  • Basic shape editing
  • Bezier curve & smooth polygon editing
  • LaTeX xcolor predefined color support
  • Shape trimming by convex zone
  • Internationalization of menues
  • HTML and PDF manuals in 3 languages (French, English and German)

System requirements
  • Minimum Java version 1.4.2_05


jPicEdt on an eComStation machine with Open JDK


Installing jPicEdt
Download jpicedt-install_1_4_1_03_20071021.jar. Create a folder (directory) "jpicedt". Copy the jar file to the new created folder (directory). That's it!

I have made a jpicedt-install.cmd file with the following contents;
@echo off
set CLASSPATH= 
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: jpicedt]
cd [drive: jpicedt]\jpicedt
java -Duser.home=[drive: jpicedt]\jpicedt -jar jpicedt-install_1_4_1_03_20071021.jar 2>jpicedt_bugs.txt
You get some windows with text, in one of them you have to agree with the terms. After that you get a screen with the choice between operating systems. As usual Windows, Apple and Linux. Choose Windows, this has to do with path and files installed. Delete that path stuff, copy your own path and past it into the fields. Next it will install and as last action you have to push the okay button. Something like that. Delete the file jpicedt.bat, its for Windows.
It runs also with Java version 1.4.2_05, but I had installed it with Java 1.6.0 Build 27 GA5. I use 2 separate folders (directories), one for Java and one for jPicEdt with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: jpicedt] = drive with jPicEdt

should be replaced with real drive letters. Edit and save the file "jpicedt-install.cmd" from the jpicedt-ecs.zip file. This file is copied to the "jpicedt" folder (directory). Furthermore, different paths and/or Java version?, adjust according to your needs.

The jpicedt.cmd file
jPicEdt works with Open JDK in OS/2-eCS, but there are some issues. Help doesn't work and gives an i/o-error. The solution with "-Dbrowser.cmd" and "-Dbrowser.arg0" doesn't work too. I have made a jpicedt.cmd file with the following contents;
@echo off
rem Java 1.4.2
rem set JAVA_HOME=[drive: java]\JAVA142
rem set BEGINLIBPATH=[drive: java]\JAVA142\bin
rem set path=[drive: java]\JAVA142\bin
rem Java 1.6.0
set CLASSPATH= 
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: jpicedt]
cd [drive: jpicedt]\jpicedt
java -Duser.home=[drive: jpicedt]\jpicedt -Xmx96m -jar jpicedt\lib\jpicedt.jar %1 2>jpicedt_bugs.txt
I use 2 separate folders (directories), one for Java and one for jPicEdt with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: jpicedt] = drive with jPicEdt

should be replaced with real drive letters. Edit and save the file "jpicedt.cmd" from the jpicedt-ecs.zip file. This file is copied to the "jpicedt" folder (directory). Furthermore, different paths and/or Java version?, adjust according to your needs. Delete one of the Java version lines, you need only one set of lines.
Create a new program object. Specify the path and file name: "[drive: jpicedt]\jpicedt\jpicedt.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 "jPicEdt". You find enclosed in the file a jPicEdt OS/2 icon.

Parameters / options explained
  • The statement "-Duser.home=[drive: jpicedt]\jpicedt" will ensure that jPicEdt will save all necessary files in own directory instead of saving them in the home directory.
  • The specification "-Xmx96m" indicates the maximum limit of the used memory.
  • The addition "2>jpicedt_bugs.txt" ensures that errors are saved in the file "jpicedt_bugs.txt". The 2 in "2>" is not a typo! You can also not use this addition, the program saves its problems in an error.log, but I don't know if all errors are saved.

Download
In the file you can find the above command file (all driveletters are set to C:) and an OS/2 jPicEdt icon: jpicedt-ecs.zip.

revision August 7, 2016