Installation Error
Asked by Ruth W?lti:

Dear Community

When I try to install Bamboo on an WIN2012R2, I get the following errors:

Exception:  

java.lang.IllegalArgumentException: object is not an instance of declaring class  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:564)  
at com.install4j.runtime.installer.helper.ClasspathModificator.addClassPathInt(Unknown Source)  
at com.install4j.runtime.installer.helper.ClasspathModificator.access$000(Unknown Source)  
at com.install4j.runtime.installer.helper.ClasspathModificator$1.run(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.actions.RunAction.execute(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(Unknown Source)  
at com.install4j.runtime.installer.helper.ClasspathModificator.addClassPath(Unknown Source)  
at com.install4j.runtime.installer.helper.InstallerUtil$2.run(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.actions.RunAction.execute(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(Unknown Source)  
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(Unknown Source)  
at com.install4j.runtime.installer.helper.InstallerUtil.loadJREDeployLibs(Unknown Source)  
at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)  
at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)  
at com.install4j.runtime.installer.Installer.main(Unknown Source)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:564)  
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)  
at com.exe4j.runtime.WinLauncher.main(Unknown Source)  
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)  

System properties:  

sun.desktop=windows  
awt.toolkit=sun.awt.windows.WToolkit  
java.specification.version=9  
file.encoding.pkg=sun.io  
sun.cpu.isalist=amd64  
sun.jnu.encoding=Cp1252  
java.class.path=C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\e4jA11D.tmp_dir1513677316\\i4jruntime.jar;C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\e4jA11D.tmp_dir1513677316\\user.jar;C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\e4jA11D.tmp_dir1513677316\\platform.zip;  
sun.awt.enableExtraMouseButtons=true  
java.vm.vendor=Oracle Corporation  
sun.arch.data.model=64  
install4j.exeDir=C:\\\\  
user.variant=  
java.vendor.url=<http://java.oracle.com/>  
install4j.systemLanguage=en  
user.timezone=Europe/Berlin  
user.country.format=CH  
os.name=Windows Server 2012 R2  
java.vm.specification.version=9  
user.country=US  
sun.boot.library.path=c:\\program files\\java\\jdk-9.0.1\\bin  
sun.java.command=C:\\atlassian-bamboo-6.2.5-windows-x64.exe  
jdk.debug=release  
sun.cpu.endian=little  
user.home=C:\\Users\\administrator.REA  
exe4j.unextractedPosition=1971545  
user.language=en  
java.specification.vendor=Oracle Corporation  
java.home=c:\\program files\\java\\jdk-9.0.1  
file.separator=\\  
java.vm.compressedOopsMode=32-bit  
line.separator=  

java.specification.name=Java Platform API Specification  
java.vm.specification.vendor=Oracle Corporation  
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment  
exe4j.moduleName=C:\\atlassian-bamboo-6.2.5-windows-x64.exe  
exe4j.tempDir=C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\e4jA11D.tmp_dir1513677316  
user.script=  
exe4j.consoleCodepage=cp0  
sun.management.compiler=HotSpot 64-Bit Tiered Compilers  
exe4j.isInstall4j=true  
java.runtime.version=9.0.1+11  
user.name=administrator  
path.separator=;  
os.version=6.3  
java.runtime.name=Java(TM) SE Runtime Environment  
sun.java2d.noddraw=true  
file.encoding=Cp1252  
java.vm.name=Java HotSpot(TM) 64-Bit Server VM  
exe4j.semaphoreName=Local\\c:_atlassian-bamboo-6.2.5-windows-x64.exe  
install4j.appDir=C:\\Users\\administrator.REA\\AppData\\Local\\Temp\\4\\  
java.vendor.url.bug=<http://bugreport.java.com/bugreport/>  
java.io.tmpdir=C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\  
java.version=9.0.1  
user.dir=C:\\Users\\ADMINI\~1.REA\\AppData\\Local\\Temp\\4\\e4jA11D.tmp_dir1513677316  
os.arch=amd64  
java.vm.specification.name=Java Virtual Machine Specification  
java.awt.printerjob=sun.awt.windows.WPrinterJob  
user.language.format=de  
sun.os.patch.level=  
java.library.path=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;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\\Git\\cmd;c:\\program files\\java\\jdk-9.0.1\\bin  
java.vm.info=mixed mode  
java.vendor=Oracle Corporation  
java.vm.version=9.0.1+11  
sun.io.unicode.encoding=UnicodeLittle  
java.class.version=53.0  
exe4j.launchName=C:\\atlassian-bamboo-6.2.5-windows-x64.exe

Can somebody help me with the installation?


Answers:
author: robhit
body: Hi,

You Java Version is not compatible with bamboo Version 6.2.5.

Check the supported platforms link for more info and re-install it with supported Java Version:

\* <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html>

Thanks