Burp Suite User Forum

Create new post

Latest Kali Linux Install Failure

Daniel | Last updated: Mar 17, 2021 03:50PM UTC

I am trying to install the latest BurpSuite Pro on the latest version of Kali. I get the following error. Exception: java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106) at java.desktop/sun.awt.X11.XToolkit.<clinit>(XToolkit.java:230) at java.desktop/sun.awt.PlatformGraphicsInfo.createToolkit(PlatformGraphicsInfo.java:40) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:592) at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:198) at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:217) at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(GUIHelper.java:195) at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:56) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:81) 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:91) at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:60) at com.install4j.runtime.installer.Installer.main(Installer.java:46) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 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(LauncherEngine.java:84) at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66) at install4j.Installer2990604421.main(Unknown Source) System properties: java.specification.version=15 install4j.launcherId=1135 sun.jnu.encoding=UTF-8 java.class.path=i4jruntime.jar:launcher0.jar java.vm.vendor=Oracle Corporation sun.arch.data.model=64 install4j.exeDir=/home/kaliadmin/Downloads/ sun.font.fontmanager=sun.awt.X11FontManager java.vendor.url=https://java.oracle.com/ user.timezone=US/Pacific java.vm.specification.version=15 os.name=Linux sun.java.launcher=SUN_STANDARD user.country=US sun.boot.library.path=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh.389218.dir/jre/lib sun.java.command=install4j.Installer2990604421 jdk.debug=release sun.cpu.endian=little user.home=/root user.language=en java.specification.vendor=Oracle Corporation java.version.date=2021-01-19 java.home=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh.389218.dir/jre file.separator=/ java.vm.compressedOopsMode=32-bit line.separator= java.vm.specification.vendor=Oracle Corporation java.specification.name=Java Platform API Specification exe4j.moduleName=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh java.awt.headless=true sun.management.compiler=HotSpot 64-Bit Tiered Compilers java.runtime.version=15.0.2+7-27 user.name=root path.separator=: os.version=5.10.0-kali3-amd64 java.runtime.name=OpenJDK Runtime Environment file.encoding=UTF-8 java.vm.name=OpenJDK 64-Bit Server VM install4j.jvmDir=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh.389218.dir/jre install4j.cwd=/home/kaliadmin/Downloads install4j.appDir=/home/kaliadmin/Downloads/ java.vendor.url.bug=https://bugreport.java.com/bugreport/ java.io.tmpdir=/tmp java.version=15.0.2 user.dir=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh.389218.dir os.arch=amd64 java.vm.specification.name=Java Virtual Machine Specification exe4j.totalDataLength=213938539 java.library.path=/home/kaliadmin/Downloads/burpsuite_pro_linux_v2021_3_1.sh.389218.dir/user::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib java.vm.info=mixed mode java.vendor=Oracle Corporation java.vm.version=15.0.2+7-27 sun.io.unicode.encoding=UnicodeLittle java.class.version=59.0 install4j.swt=false

Daniel | Last updated: Mar 17, 2021 05:18PM UTC

UPDATE RESOLUTION: I ran the .sh installer not using sudo and it worked fine for the installation. It is slightly counter intuitive as many of us think that for software installation you need to be root, or an administrator. But this is a simple fix.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.