Joop - 2021-12-12

I run Memoranda fine in OS/2-ECS. OS/2 uses OpenJDK version 6 something and its not the latest 6. We had some troubles in different versions of OpenJDK 6, probably due to converting problems. Therefore you see JAVA160ga5. If you can start OpenJDK this way in an other OS I don't know. I use a command file with next 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 BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
set CLASSPATH=
[drive: memoranda]
cd [drive: memoranda]\memoranda
java -Duser.home=[drive: memoranda]\memoranda -cp memoranda.jar;./lib/xom-1.0.jar;./lib/xercesImpl.jar;
./lib/xmlParserAPIs.jar;./lib/nekohtml.jar;./lib/nekohtmlXni.jar;./lib/kunststoff.jar;./lib/systray4j.jar
net.sf.memoranda.Start %1 2>memoranda-bugs.txt

I can run Memoranda with this setup. Mind that the line starting with " java -Duser.home" all the way up to "memoranda-bugs.txt" is actual one line. Its commonly seen that the first run ends up in an error because of missing properties file, Just end the program if possible the normal way and restart the program. With ending the program the properties file is written and can be found by the program. You have to replace [drive:java] with the drive letter where the Java program resides. You have to replace [drive: memoranda] with the drive letter where the program Memoranda resides. Be sure you have nothing in CLASSPATH.

It runs also fine in OpenJDK version 11.0.12 2021-07-20 on a Raspberry Pi 400. The same goes for Windows 10 with latest version OpenJDK 11. I use OpenJDK 11 because of an other program.

 

Last edit: Joop 2021-12-12