Error when trying to install with Java 9

Hi! I get an error when trying to install Bamboo on Microsoft Windows Server 2016 and with JDK 9.0.1.

Is version 9 not supported?

 

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=9
file.encoding.pkg=sun.io
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Users\X\AppData\Local\Temp\2\e4jEC9D.tmp_dir1513692796\i4jruntime.jar;C:\Users\X\AppData\Local\Temp\2\e4jEC9D.tmp_dir1513692796\user.jar;C:\Users\X\AppData\Local\Temp\2\e4jEC9D.tmp_dir1513692796\platform.zip;
sun.awt.enableExtraMouseButtons=true
java.vm.vendor=Oracle Corporation
sun.arch.data.model=64
install4j.exeDir=H:\Setup\
user.variant=
java.vendor.url=http://java.oracle.com/
install4j.systemLanguage=en
user.timezone=Europe/Berlin
user.country.format=SE
os.name=Windows Server 2016
java.vm.specification.version=9
user.country=US
sun.boot.library.path=c:\program files\java\jre-9.0.1\bin
sun.java.command=H:\Setup\atlassian-bamboo-6.2.5-windows-x64.exe
jdk.debug=release
sun.cpu.endian=little
user.home=C:\Users\X
exe4j.unextractedPosition=1971545
user.language=en
java.specification.vendor=Oracle Corporation
java.home=c:\program files\java\jre-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=H:\Setup\atlassian-bamboo-6.2.5-windows-x64.exe
exe4j.tempDir=C:\Users\X\AppData\Local\Temp\2\e4jEC9D.tmp_dir1513692796
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=jw
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
exe4j.semaphoreName=Local\h:_setup_atlassian-bamboo-6.2.5-windows-x64.exe
install4j.appDir=C:\Users\X\AppData\Local\Temp\2\
java.vendor.url.bug=http://bugreport.java.com/bugreport/
java.io.tmpdir=C:\Users\X\AppData\Local\Temp\2\
java.version=9.0.1
user.dir=C:\Users\X\AppData\Local\Temp\2\e4jEC9D.tmp_dir1513692796
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.awt.windows.WPrinterJob
user.language.format=sv
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:\Users\X\AppData\Local\Microsoft\WindowsApps;;c:\program files\java\jre-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=H:\Setup\atlassian-bamboo-6.2.5-windows-x64.exe

2 answers

0 votes

Hi Johan,

Java 1.9 is not yet supported by Bamboo 6.2. Please check System requirements page for the list of tools that are supported.

You might have to install JDK 1.8 and then restart the application with it.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,087 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot