1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
root@atlassian:~# chmod 755 atlassian-bitbucket-7.11.1-x64.bin root@atlassian:~# ./atlassian-bitbucket-7.11.1-x64.bin Starting Installer ... An error occurred: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment Error log: /tmp/install4jError7227346616644418303.log java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.Toolkit$2.run(Toolkit.java:860) at java.awt.Toolkit$2.run(Toolkit.java:855) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854) at javax.swing.ImageIcon.<init>(ImageIcon.java:198) at javax.swing.ImageIcon.<init>(ImageIcon.java:217) at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(GUIHelper.java:192) at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:50) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:73) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:24) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6) at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:87) at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:56) at com.install4j.runtime.installer.Installer.main(Installer.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62) |
加一个-c参数:
1 2 3 4 5 6 |
root@atlassian:~# ./atlassian-bitbucket-7.11.1-x64.bin -c Starting Installer ... Bitbucket 7.11.1 installation wizard Would you like to install or upgrade an instance? Install a new instance [1, Enter], Upgrade an existing instance [2] |
转载时请保留出处,违法转载追究到底:进城务工人员小梅 » Bitbucket安装报错Could not initialize class sun.awt.X11GraphicsEnvironment