Bug #2817
closed
kepler-1.0.0beta3.exe not finding valid java install
Added by Terry Rankine over 17 years ago.
Updated almost 17 years ago.
Description
firstly there is no 1.0.0.beta3 category.
secondly, the installer with out the jvm, http://kepler-project.org/dist/kepler-1.0.0beta3.exe
does not detect my valid java 6 install
"could not find a valid java virtual machine to load"
C:\Documents and Settings\ran110>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
C:\Documents and Settings\ran110>echo JAVA_HOME
C:\Program Files\Java\jdk1.6.0
the kepler.bat works fine.
I updated your bug to 1.0.0beta3 -- thanks for pointing out the omission.
We have not yet tested against Java 1.6. We only recently decided to move our test builds off of Java 1.4.2 and onto Java 1.5. I'll reassign this to Dan Higgins as he's built all of our installers.
This appears to be a problem with the rather old version of InstallAnywhere used to build the installer. (Too old to recognize Java 1.6?).
I suggest we look into other installers for future releases (as Ptolemy has).
A work around is simply to use the installer that includes a java jre (1.5). This has a slight size penalty, but should not intefer with a 1.6 java sdk on the same machine.
Dan Higgins
I thought that the installer may just be having a hard time finding Java 1.6 and that this could be fixed by modifying the *.lax file that contains parameters used by InstallAnywhere. The path to the Java 1.6 jre that is there appears to be correct! The *.exe,however, still reports that it cannot find Java. Thus it appears that there is something built into the InstallAnywhere code that will not work with Java 1.6.
I actually have the following installed via java's installer engines (complete with reg keys etc)
j2re1.4.2_13
jdk1.6.0
jre1.6.0
the jdk1.6 installer installed both the jdk and the jre.
The jre1.4.2 was installed as is.
So even though I have 1.4, I have set 1.6 to the default via java_home and my path variable.
for now i am happy just to use the bat file, it works fine
This is a problem with the old version of InstallAnywhere used with the Beta3 installer. Since a new installer will be prepared for next release, this bug will be removed.
Original Bugzilla ID was 2817
Also available in: Atom
PDF