Crash when installing Bamboo
Asked by Mr Andersen:

When trying to install Bamboo 6.5.0 on Windows 10 x64, the installer crashes with the following error:

```
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(Unknown Source)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
 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(Unknown Source)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
 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=10
file.encoding.pkg=sun.io
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Users\MYUSER~1\AppData\Local\Temp\e4jB2A7.tmp_dir1530000106\i4jruntime.jar;C:\Users\MYUSER~1\AppData\Local\Temp\e4jB2A7.tmp_dir1530000106\user.jar;C:\Users\MYUSER~1\AppData\Local\Temp\e4jB2A7.tmp_dir1530000106\platform.zip;
sun.awt.enableExtraMouseButtons=true
java.vm.vendor="Oracle Corporation"
sun.arch.data.model=64
install4j.exeDir=C:\Temp\
user.variant=
java.vendor.url=http://java.oracle.com/
install4j.systemLanguage=en
user.timezone=Europe/Paris
user.country.format=DK
os.name=Windows 10
java.vm.specification.version=10
user.country=US
sun.boot.library.path=c:\program files\java\jre-10.0.1\bin
sun.java.command=C:\Temp\atlassian-bamboo-6.5.0-windows-x64.exe
jdk.debug=release
sun.cpu.endian=little
user.home=C:\Users\My username
exe4j.unextractedPosition=1935856
user.language=en
java.specification.vendor=Oracle Corporation
java.version.date=2018-04-17
java.home=c:\program files\java\jre-10.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:\Temp\atlassian-bamboo-6.5.0-windows-x64.exe
exe4j.tempDir=C:\Users\MYUSER~1\AppData\Local\Temp\e4jB2A7.tmp_dir1530000106
user.script=
exe4j.consoleCodepage=cp0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
exe4j.isInstall4j=true
java.runtime.version=10.0.1+10
user.name=My username
path.separator=;
os.version=10.0
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
java.vendor.version=18.3
exe4j.semaphoreName=Local\c:_temp_atlassian-bamboo-6.5.0-windows-x64.exe
install4j.appDir=C:\Users\My username\AppData\Local\Temp\
java.vendor.url.bug=http://bugreport.java.com/bugreport/
java.io.tmpdir=C:\Users\MYUSER~1\AppData\Local\Temp\
java.version=10.0.1
user.dir=C:\Users\MYUSER~1\AppData\Local\Temp\e4jB2A7.tmp_dir1530000106
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.awt.windows.WPrinterJob
user.language.format=da
sun.os.patch.level=
java.library.path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Users\My username\AppData\Local\Microsoft\WindowsApps;;c:\program files\java\jre-10.0.1\bin
java.vendor=Oracle Corporation
java.vm.info=mixed mode
java.vm.version=10.0.1+10
sun.io.unicode.encoding=UnicodeLittle
java.class.version=54.0
exe4j.launchName=C:\Temp\atlassian-bamboo-6.5.0-windows-x64.exe
```

Prior to installing "atlassian-bamboo-6.5.0-windows-x64.exe", I have installed the latest JDK "jdk-10.0.1_windows-x64_bin.exe" (Found at <http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html>).

Is there anything I can do to resolve this error myself?


Answers:
author: Christian Glockner
body: Hi,

It looks like you installed Java 10, while Bamboo only supports Java 8. So I would recommend downgrading your version of the JDK to version 8 and then try again.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Mr Andersen
body: Thank you, installing JDK version 8 has allowed me to install Bamboo.