Bamboo on Windows Server 2008
Asked by Lyle Diego:

Just trying to install bamboo on my W2008 r2 server (x64) and I get the message:

"The install4J wizard could not find Java(TM) runtime...."

When I click "Locate" and point it at java.exe, it says

"the JVM at \<path\> is damaged. Please reinstall or define EXE4J_JAVA_HOME to point to an installed JDK or JRE."

I tried explicilty setting the environment variable myself but still the same error.

I installed Java to day from [java.com](http://java.com) and it checks out Ok using the Verify.

Any clues?


Answers:
author: Michael Bartmon
body: Same problem, same OS version. Both JRE and JDK (v 1.7.0_45) are installed.

end of nstallation log:

checkJavaExe (C:\\Program Files (x86)\\Java\\jdk1.7.0_45\\bin\\java.exe, \[out\], 1.6, , 1)  
file exists  
got version from registry 1.7.0_45  
checkJavaExe returning 1  
Trying to load JVM-DLL from c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\java.exe  
Setting PATH C:\\Program Files (x86)\\Internet Explorer;;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities 1.3.5\\;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;c:\\Program Files (x86)\\Java\\jre7\\bin\\;C:\\Program Files (x86)\\Spiceworks\\Nmap;c:\\program files (x86)\\java\\jdk1.7.0_45\\bin  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\client\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\server\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files (x86)\\Internet Explorer;;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities 1.3.5\\;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;c:\\Program Files (x86)\\Java\\jre7\\bin\\;C:\\Program Files (x86)\\Spiceworks\\Nmap  
Setting PATH C:\\Program Files (x86)\\Internet Explorer;;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities 1.3.5\\;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;c:\\Program Files (x86)\\Java\\jre7\\bin\\;C:\\Program Files (x86)\\Spiceworks\\Nmap;c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin\\client\\jvm.dll (exists 1)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin\\server\\jvm.dll (exists 1)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\program files (x86)\\java\\jdk1.7.0_45\\bin\\..\\jre\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files (x86)\\Internet Explorer;;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities 1.3.5\\;C:\\Program Files (x86)\\CVS Suite\\CVSNT\\;c:\\Program Files (x86)\\Java\\jre7\\bin\\;C:\\Program Files (x86)\\Spiceworks\\Nmap  
ERROR: Could not get DLL-Handle.  
ERROR: Could not load functions

comments: author: Michael Bartmon
body: So...

I took another look at the JAVA installation and realized that it was the 32bit version.

Installed the 64 bit version and all went well.


author: Brian Hann
body: Confirmed; installing the JDK solved this.

comments: author: Harry Chan
body: For server installs, it is best to go with the JDK. The JRE often has a lot of quirks.


author: Kelly Orr
body: I installed JRE and saw this same problem.

I installed JDK and the issue is resolved.