The only success I had was with installing the behemoth combined JVM 1.4 with Forte Tools package that tucks the JVM into a subdirectory of the Forte directory. That is not what I call "open" and makes no sense.
After installing the JVM and testing it with the Cocoon 2.1 Dev CVS HEAD Branch and successfully running Tomcat 4.1.12 with Cocoon.war i can tell you that the JVM 1.4.1 is being found and running smoothly.
Now back to our show. The exe file for Windows is BROKEN!!
I searched for references and found the desparaging clue to create a file named ffj_ce_win32_en.sp (note: the naming convention is identical with the extension only differentiating from the executable)
From there the clue is to list the path reference
jh="My path to Java Home"
Well after all that, guess what? It does not work.
I strolled on over to Netbeans and of course since I have Cygwin installed on XP I thought I'd test there reference as follows:
./ffj_ce_win32_en.exe -is:javahome c:/Java/j2sdk1.4.1
Results: Failed
Install Shield Launches does a "snif" I suppose and after doing that for a good 10 - 15 seconds it unceremoniously quits.
So I can risk ripping out the JVM and download 90MB of stuff and reinstall it along with Tomcat and any/or all other tools that depend on it and see what happens but I would hope SUN would fix this by Testing it in SQA before it gets out the door.
After some more investigation and reading the Troubleshooting section of the Getting Started Manual I attempted the following:
From the Manual:
"The Sun ONE Studio 4 IDE installer exits
without installing the product. No messages
are displayed.
Here are the possible causes and solutions:
The file you have downloaded from the Sun ONE Studio 4 product download page is not complete. Download the file
again, and check that the size of the downloaded file is the
same as the file size specified on the product download page.
Run the IDE installer again.
You have specified an invalid command-line parameter in the
installer.sp file. Check the file and correct any incorrect
command-line parameter setting. Run the IDE installer again.
Run the installer launcher (<installer>.exe file or
<installer>.bin file) with the option <installer>.exe/bin -
is:log log.txt. Check log.txt for possible errors
I attempted:
ffj_ce_win32.en.exe -is:log log.txt
In the resulting log.txt file the following errors were outputted:
Found matching JVM at C:\Java\j2sdk1.4.1
Matching JVM home is C:\Java\j2sdk1.4.1
Matching JVM file is c:\DOCUME~1\mjd\LOCALS~1\Temp\LRE2F.tmp
Executing launch script command: "C:\Java\j2sdk1.4.1/bin\java.exe" -cp "c:\DOCUME~1\mjd\LOCALS~1\Temp\LRE30.tmp\ffj_ce_en.jar" -Dtemp.dir="c:\DOCUME~1\mjd\LOCALS~1\Temp" -Dis.jvm.home="C:\Java\j2sdk1.4.1" -Dis.jvm.temp="0" -Dis.media.home="c:\DOCUME~1\mjd\LOCALS~1\Temp\LRE30.tmp\ffj_ce_en.jar" -Dis.launcher.file="d:\devResources\Java\SunFortePackage\ffj_ce_win32_en.exe" -Dis.jvm.file="c:\DOCUME~1\mjd\LOCALS~1\Temp\LRE2F.tmp" -Dis.external.home="d:\devResources\Java\SunFortePackage" -Djh=C:/Java/j2sdk1.4.1 -Xms20m -Xmx60m run in working directory d:\devResources\Java\SunFortePackage
Output from the launch script execution
StdOut:
ErrOut:
The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)
I--
I researched the Manual again and saw the following option:
Issue:
The -is:tempdir command-line parameter
is not working.
Ensure that you are using the correct syntax for the commandline
parameter for the installer. For example, in a Solaris
environment, the syntax is as follows:
ffj_ce_solsparc_en.bin -is:tempdir temporary-directory
I attempted:
ffj_ce_win32.en.exe -is:tempdir ffjTemp
Results: a file LRE43.tmp is quickly created but when the Wizard step fails it is flushed. So I copied/pasted it quickly to the desktop and here are its contents. Hope this helps:
DESC: Sun Java Development Kit (JDK) 1.4.X by Sun Microsystems
JVM_EXE: bin\java.exe
CLASSPATH: "-cp "
CLASSPATH_SEPARATOR: ;
SYSTEM: -D
SYSTEM_SEPARATOR: =
JVM_PROPERTIES:
java.vendor=Sun Microsystems...
java.version=1.4...
/:
PLATFORM_HINT: \HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4\JavaHome
PATH_HINT: \j2sdk1.4.0
VERBOSE: -verbose
VERBOSE_GC: -verbose:gc
VERBOSE_CLASS: -verbose:class
VERBOSE_JNI: -verbose:jni
VERSION: -version
BOOT_CLASSPATH: -Xbootclasspath:
NO_CLASS_GC: -Xnoclassgc
INIT_JAVA_HEAP: -Xms
MAX_JAVA_HEAP: -Xmx
REDUCE_OS_SIGNALS: -Xrs
CHECK_JNI: -Xcheck:jni
RUNHPROF_HELP: -Xrunhprof:help
RUNHPROF_OPTION: -Xrunhprof
DEBUG: -Xdebug
FUTURE: -Xfuture
SEARCH_ALL: 0
JVM_HOME: C:\Java\j2sdk1.4.1
JVM_FILE: ./ffjTemp\LRE43.tmp
JVM_TEMP: 0
I'm about to just download the entire package and reinstall the VM and Tomcat, etc..
I do not know why, but this installation does not work with the latest j2sdk1.4.1_02 on Windows 2000.
To get around this I did the following:
1) I installed an older jdk1.3.1_07 I had.
2) I ran the installation as follows:
ffj_ce_win32.exe -is:javahome C:\jdk1.3.1_07
3) During the installation, it did detect my j2sdk1.4.1_02 and the jdk1.3.1_07 and gave me the option to choose which to use with the IDE at runtime. I selected the j2sdk1.4.1_02 and the IDE did come up functioning using this newer JDK, which is what I wanted.
Hope this helps,
Gary