I'm trying to look around. Possible it is not platform independent.
It needs also qt from trolltech.
NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-4.5.2_01.jar
NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux32-gcc-4.5.2_01.jar
NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux64-4.5.2_01.jar
NN_CLASSPATH=$NN_CLASSPATH:$NIXNOTE/lib/qtjambi-linux64-gcc-4.5.2_01.jar
So it might be possible that 2 of these four files (the linux32 bit) need to be rewritten so it can run in the qt environment of OS/2.
Its a very difficult installation, most Java programs are much easier.
screenprint of the problem;
Exception in thread "main"
java.lang.NoClassDefFoundError: com/trolltech/qt/gui/QMainWindow at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Caused by:
java.lang.ClassNotFoundException: com.trolltech.qt.gui.QMainWindow at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 11 more
Could not find the main class: cx.fbn.nevernote.NeverNote. Program will exit.
Its a big program, it will not work because we have to change 2 files which searches hard coded for qt on a place we don't use. I removed the stuff from hd.
If you want to experiment, here my cmd file, I used JAVA GA1 because this is stable on my system together with latest Odin, GCC and LIBC;
@echo off
set path=[drive java:]\JAVA\JAVA160\bin
set BEGINLIBPATH=[drive java:]\JAVA\JAVA160\bin
set CLASSPATH=[drive programs:]\PROGRAMS\nixnote;[drive programs:]\PROGRAMS\nixnote\lib
[drive programs:]
cd [drive programs:]\PROGRAMS\nixnote
java -Xms256M -Xmx512M -cp nixnote.jar;apache-mime4j-0.6.jar;commons-codec-1.5.jar;commons-compress-1.2.jar;commons-lang3-3.0.jar;commons-logging-1.1.1.jar;evernote-api-1.20.jar;h2-1.3.158.jar;httpclient-4.1.1.jar;httpcore-4.1.jar;httpmime-4.1.1.jar;jaxen-1.1.3.jar;jazzy.jar;jtidy-r938.jar;libthrift.jar;log4j-1.2.14.jar;pdfbox-app-1.6.0.jar;poi-3.7-20101029.jar;poi-ooxml-3.7.jar;poi-ooxml-schemas-3.7-20101029.jar;poi-scratchpad-3.7-20101029.jar;tika.jar;xmlbeans-2.3.0.jar;xsdlib-20060615.jar;qtjambi-linux32-4.5.2_01.jar;qtjambi-linux32-gcc-4.5.2_01.jar cx.fbn.nevernote.NeverNote 2>nixnoteproblems.txt
I did flatten the total structure, one more time to show that we don't have to go to the new installer for OS/2;
nixnote
-applications
-images
-lib
-man
-qss
-spell
-translations
-xml
Joop