What is Java csveditor?
Java csveditor is a simple csveditor written in Java 1.6. I tested the program with a csv file with the index database of Draad/2 (former Dutch clubmagazine about OS/2). I did made that one, so I do know how it should look. No problems here. I made the columns a lot smaller just by dragging it with the mouse, that did work, see the picture below. There is not much to tell about, you have to know what CSV is and to understand that it is no standard at all, whatever they try to tell you.

System requirements
  • Minimum JRE: 1.6.0


Java csveditor on an eComStation machine with Open JDK


Installing Java csveditor
Download csveditor_1.3_dist.zip. Make a directory/map with the name "csveditor". Open the zip file and go into the directory "dist". Copy everything from this directory to the new directory "csveditor". That's all!

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

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

should be replaced with real drive letters. Save the file and name it "csveditor.cmd" or use the file from the distribution. This file is copied to the "csveditor" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: csveditor]\csveditor\csveditor.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 "Java csveditor".

Parameters / options explained
  • The statement "-Duser.home=[drive: csveditor]\csveditor" will ensure that Java csveditor will save all necessary files in own directory instead of saving them in the home directory. You can skip it, nothing comes from the program, but I use it as a safeguard that if something goes wrong it don't end with something somewhere on your disk.
  • The addition "2>csveditor-bugs.txt" ensures that errors are saved in the file "csveditor-bugs.txt". The 2 in "2>" is not a typo!

Download
In the file you can find the above command files (all drive letters are on set to C:) and an OS/2 Java csveditor icon: csveditor-ecs.zip.

revision August 11, 2016