Burp Suite User Forum

Create new post

Burp goes into headless mode with open jdk version 1.7.0_79

Manold | Last updated: May 16, 2015 07:16AM UTC

Hi, Whenever I run Burp Suite on my system it prints following message and goes headless (no splash screen even). If i delete .java/.userPrefs/burp folder, then it even prints the license agreement on the screen. Proxy: Proxy service started on 127.0.0.1:8080 The exact java version is as below, java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1) OpenJDK Client VM (build 24.79-b02, mixed mode, sharing) I would be grateful if you can help me troubleshoot this.

Burp User | Last updated: May 16, 2015 09:05AM UTC

And yes, when run with the -Djava.awt.headless=false, it returns the following error, java -Djava.awt.headless=false -jar /home/sa/tools/burp/burp.jar Exception report: Category: UNEXPECTED Detail: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/xawt/libmawt.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1657) at java.awt.Toolkit.<clinit>(Toolkit.java:1686) at java.awt.Component.<clinit>(Component.java:595) at burp.e1c.<init>(Unknown Source) at burp.tqc.<init>(Unknown Source) at burp.StartBurp.main(Unknown Source) -------------------------------------------------------------------------------- Exception report: Category: UNHANDLED Detail: java.lang.NoClassDefFoundError: java.awt.Container at burp.StartBurp.main(Unknown Source) -------------------------------------------------------------------------------- java.lang.NoClassDefFoundError: java.awt.Container at burp.StartBurp.main(Unknown Source)

PortSwigger Agent | Last updated: May 18, 2015 07:51AM UTC

It looks like your Java installation doesn't have the GUI components. The class java.awt.Container is missing, and this is fundamental to the Java UI. Hence, it is defaulting to headless mode. We'd recommend reinstalling the full JRE/JDK.

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