Thanks to Michael Holzapfe for figuring this out first! I only reformatted
his instructions for this post and added instructions for using the 3 files from Java 1.4.2.
The original can be found here:
http://home.arcor.de/michael.holzapfel/eCS/java/Using%20Java%20on%20eCS.htmlThe jdk 1.5.0_07 for windoze works with innowin. I use these 3 files java.exe, javaw.exe, and j2win.dll from java142.
1)If needed install Innotek runtime.
http://download.innotek.de/innowin/112b20/InnoTekRuntime_112b20.exe2) Download and install jdk 1.5.0_07 to a Windows system.
(Below I have jdk Java 1.5_07 in a zip format)
http://java.sun.com/products/archive/j2se/5.0_07/index.html
3) Move Java\jre1.5.0_07 from Windows to an eCS partition. (I put it right
beside the 1.4.2_09 directory)
4) Then copy the files: java.exe, javaw.exe, and j2win.dll from java142,
into the java150 directory structure (no other changes). Apparently,
those files are based on the AROS2.EXE file, and they don't seem to
care what version of JAVA they are working with.
5) Create PROGRAM OBJECT for your java application.
The path
of the program object is different from Michael Holzapfe way, because
I copied the 3 different java 1.4.2 files over to java 1.5.07. path and filename:
C:\PROGRAMS\JAVA150\JRE\BIN\JAVAW.EXE
parameters:
-Xmx400M -jar JAlbum.jar
working directory:
C:\PROGRAMS\JALBUM
6) Start your app and that is it!
Thanks
Greggory Shaw