Bamboo - How can I resolve Run-time Error during installation?
Asked by nachotsvetkov:

Hello,

I am with latest version of JDK and trying to install Bamboo.

I get this log file:

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\\User1\\AppData\\Local\\Temp\\e4j708.tmp_dir1521107505\\i4jruntime.jar;C:\\Users\\User1\\AppData\\Local\\Temp\\e4j708.tmp_dir1521107505\\user.jar;C:\\Users\\User1\\AppData\\Local\\Temp\\e4j708.tmp_dir1521107505\\platform.zip;  
sun.awt.enableExtraMouseButtons=true  
java.vm.vendor=Oracle Corporation  
sun.arch.data.model=64  
install4j.exeDir=C:\\Users\\User1\\Downloads\\  
user.variant=  
java.vendor.url=<http://java.oracle.com/>  
install4j.systemLanguage=en  
user.timezone=Europe/Helsinki  
os.name=Windows 10  
java.vm.specification.version=9  
user.country=US  
sun.boot.library.path=c:\\program files\\java\\jdk-9.0.4\\bin  
sun.java.command=C:\\Users\\User1\\Downloads\\atlassian-bamboo-6.4.0-windows-x64.exe  
jdk.debug=release  
sun.cpu.endian=little  
user.home=C:\\Users\\User1  
exe4j.unextractedPosition=1973686  
user.language=en  
java.specification.vendor=Oracle Corporation  
java.home=c:\\program files\\java\\jdk-9.0.4  
file.separator=\\  
java.vm.compressedOopsMode=Zero based  
line.separator=

java.specification.name=Java Platform API Specification  
java.vm.specification.vendor=Oracle Corporation  
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment  
exe4j.moduleName=C:\\Users\\User1\\Downloads\\atlassian-bamboo-6.4.0-windows-x64.exe  
exe4j.tempDir=C:\\Users\\User1\\AppData\\Local\\Temp\\e4j708.tmp_dir1521107505  
user.script=  
exe4j.consoleCodepage=cp0  
sun.management.compiler=HotSpot 64-Bit Tiered Compilers  
exe4j.isInstall4j=true  
java.runtime.version=9.0.4+11  
user.name=User1  
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\\c:_users_user1_downloads_atlassian-bamboo-6.4.0-windows-x64.exe  
install4j.appDir=C:\\Users\\User1\\AppData\\Local\\Temp\\  
java.vendor.url.bug=<http://bugreport.java.com/bugreport/>  
java.io.tmpdir=C:\\Users\\User1\\AppData\\Local\\Temp\\  
java.version=9.0.4  
user.dir=C:\\Users\\User1\\AppData\\Local\\Temp\\e4j708.tmp_dir1521107505  
os.arch=amd64  
java.vm.specification.name=Java Virtual Machine Specification  
java.awt.printerjob=sun.awt.windows.WPrinterJob  
sun.os.patch.level=  
java.library.path=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files\\PHP\\v7.0;C:\\Program Files\\Microsoft MPI\\Bin\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\140\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\140\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\Client SDK\\ODBC\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Users\\User1\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Microsoft VS Code\\bin;c:\\windows\\microsoft.net\\framework\\v4.0.303;C:\\Users\\User1\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Microsoft VS Code\\bin;c:\\windows\\microsoft.net\\framework\\v4.0.30319;;c:\\program files\\java\\jdk-9.0.4\\bin  
java.vm.info=mixed mode  
java.vendor=Oracle Corporation  
java.vm.version=9.0.4+11  
sun.io.unicode.encoding=UnicodeLittle  
java.class.version=53.0  
exe4j.launchName=C:\\Users\\User1\\Downloads\\atlassian-bamboo-6.4.0-windows-x64.exe


Answers:
author: Alexey Chystoprudov
body: Bamboo doesn't support JDK 9, please use JDK from <https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html>


Tags: error

install