coldwellpacific / variman

Automatically exported from code.google.com/p/variman
0 stars 0 forks source link

Server JRE-7u21 on x64 not recognized by Variman Installer #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unpack the "server-jre-7u21-windows-x64.gz" file into C:\Program Files 
(x86)\java folder.
2. Add the classpath to the PATH environment variable.
3. Restart the computer.
4. Run the Variman Installer.

What is the expected output? What do you see instead?
The expected behavior is to allow installation to continue.  java and javac can 
both be run from the command line.  Installer fails.

What version of the product are you using? On what operating system?
Variman-3.2.2 on Windows Server 2008 R2.

Java Version: 
http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-19
31105.html

Original issue reported on code.google.com by w...@comsoftinc.com on 14 May 2013 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by jazzklein on 6 Jul 2013 at 5:31

GoogleCodeExporter commented 8 years ago
What is the value of HKLM/SOFTWARE/JavaSoft/Java Runtime 
Environment/CurrentVersion?

Original comment by jazzklein on 6 Jul 2013 at 11:43

GoogleCodeExporter commented 8 years ago
I believe your problem is that you're not running a Windows installer for that 
version of Java and the Registry isn't being updated. On my machine, there is a 
proper value for that and the installer will run and put the service into 
place. 

Note that if you don't care about running Variman as a service, you can install 
it from the non-Windows bundle and simply run "java -jar variman.jar" against 
it and it will work too.

The installer's primary purpose is to install Variman as a service on Windows.

Original comment by jazzklein on 10 Jul 2013 at 12:32

GoogleCodeExporter commented 8 years ago
What should the proper value be for that registry key? If it's not a
service,  would I just run a batch in machine startup to execute the jar?
Either way, I appreciate you looking into this.

Will Zablocki, CEO
IRA Suite

Original comment by w...@comsoftinc.com on 10 Jul 2013 at 12:55

GoogleCodeExporter commented 8 years ago
It depends on the version of Java installed. It should be "1.5", "1.6" or 
"1.7". HKLM/SOFTWARE/JavaSoft/Java Runtime Environment/[version]/JavaHome and 
RuntimeLib keys should then point to the JAVA_HOME and jvm.dll for the service 
to use.

I'm not much of a Windows guy, but a BAT or CMD that invokes "java -jar 
variman.jar" would also work. I don't know how you set that up to automatically 
start. Using the service on a Windows Server is the best way. I'd suggest 
finding the right windows downloader for this. The fact you used a .gz file 
instead of .exe was curious.

Original comment by jazzklein on 10 Jul 2013 at 1:23

GoogleCodeExporter commented 8 years ago
Strangely enough, I was distressed about using a gz, but I couldn't find
the proper exe.  I remember only seeing an x32. Thank you for your help.

Will

Original comment by w...@comsoftinc.com on 10 Jul 2013 at 2:00