The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

I can not start a new version of Burp

Burp User | Last updated: Apr 27, 2020 08:05PM UTC

Hello, I can not start a new version of Burp, it gives an error: A JNI error has occurred, please check your installation and try again. Here is a screenshot: https://gyazo.com/dcd9f05a4520c0fff34aa317bd5bc622 And after it, another error: A Java Exception has occurred. But the previous version of Burp starts up normally. What could be the problem? And also my license has flown, I'm trying to activate, but writes: Activation Failed. Why does this happen?

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 07:49AM UTC

Are you using the jar file or the installed version when you try to launch Burp? If you are using the jar file, what version of Java are you using? We have reviewed your license issues and you should now be able to activate your license.

Burp User | Last updated: Apr 28, 2020 10:38AM UTC

I use jar file. Java version 8u251 and JDK 8u251

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 11:01AM UTC

Do you still see the issue if you use a different version of Java (the installed version now uses 13.0.2) or use the installed version?

Burp User | Last updated: Apr 28, 2020 11:21AM UTC

Can you give me url plese to 13.0.2 version?

Burp User | Last updated: Apr 28, 2020 11:35AM UTC

I'm installed jdk 13.0.2 And it is work fine, but not start with console command I use: java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar What is wrong?

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 11:40AM UTC

What error do you see when you use the command line? Do you still see the JNI error? When you say it worked, were you using a different way of launching Burp or was that in relation to the Java download? Have you had a chance to try using the installed version of Burp?

Burp User | Last updated: Apr 28, 2020 11:48AM UTC

I have uninstall java 8, and license not work again!!!! Why?!!!

Burp User | Last updated: Apr 28, 2020 11:50AM UTC

When I launch the jar file with the mouse, it starts normally, and through the console it starts and immediately disappears. I cannot use the installed version because I need to run Burp with RAM restrictions. How can I run the installed version with a RAM limit?

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 12:18PM UTC

Is it set to use the same java version when you launch via the CLI and double-click the jar file with the mouse? To see what Java version the command line will use you can use this command: java -version I have also updated your license activations so you should be able to re-install the license

Burp User | Last updated: Apr 28, 2020 01:20PM UTC

I'm installed jdk 13.0.2 But when I type java -version, that answer: 'java' is not recognized as an internal or external command, operable program or batch file. But if I start jar file manually, it is work fine.

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 01:25PM UTC

Could you send me a screenshot of what you're seeing to support@portswigger.net, please? Which folder are you in when you try to run the java -version command?

Burp User | Last updated: Apr 28, 2020 01:34PM UTC

I have reinstall java. And it is work. But not work with command. C:\Users\Administrator>java -version java version "1.8.0_251" Java(TM) SE Runtime Environment (build 1.8.0_251-b08) Java HotSpot(TM) Client VM (build 25.251-b08, mixed mode) C:\Users\Administrator>java -version C:\Users\Administrator>java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Invalid maximum heap size: -Xmx4G The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. C:\Users\Administrator>java -jar -Xmx2G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap C:\Users\Administrator>java -jar -Xmx1G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: burp/StartBurp has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) C:\Users\Administrator>

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 01:48PM UTC

The output of your java -version command is showing 1.8, so when you run java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar it will not be trying to use the Java version you have just installed. Could you try changing to the directory where the new version of Java is installed, run the 'java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar' command from there and let me know if there is any difference, please?

Burp User | Last updated: Apr 28, 2020 01:54PM UTC

C:\Program Files (x86)\Java\jre1.8.0_251>java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Invalid maximum heap size: -Xmx4G The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. C:\Program Files\Java\jdk-13>java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Invalid maximum heap size: -Xmx4G The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

Burp User | Last updated: Apr 28, 2020 01:56PM UTC

C:\Program Files\Java\jdk-13>java -jar C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: burp/StartBurp has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Burp User | Last updated: Apr 28, 2020 01:57PM UTC

Maybe I will give you access to the server? And you can see for yourself?

Burp User | Last updated: Apr 28, 2020 02:45PM UTC

I'm fix problem, and Burp is work now, but some Warnings in command terminal: C:\Users\Administrator\Desktop>java -jar -Xmx4G C:\Users\Administrator\Downloads\burpsuite_pro_v2020.4.jar WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by burp.a6x (file:/C:/Users/Administrator/Downloads/burpsuite_pro_v2020.4.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of burp.a6x WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

Michelle, PortSwigger Agent | Last updated: Apr 28, 2020 03:02PM UTC

I'm glad that's working for you now. The work to remove this warning from appearing is still in our development backlog. You can safely ignore the warning message and proceed with using Burp without any issues.

Tal | Last updated: May 05, 2020 08:47AM UTC

Hi, I have the same errors. with java 231 and also with the last version (251) C:\Users\user>"C:\Users\user\Desktop\Burp Suite v2020.2.1 Pro.lnk" C:\Program Files\PortSwigger\Burp 2.1>java -Xmx4g -jar ./burpsuite_pro_v2020.4.jar Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: burp/StartBurp has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) C:\Users\user>java -version java version "1.8.0_251" Java(TM) SE Runtime Environment (build 1.8.0_251-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

Michelle, PortSwigger Agent | Last updated: May 05, 2020 08:55AM UTC

Hi Burp Professional 2020.4 no longer supports the use of Java 8. You will need to upgrade the version of Java that you use on your machine (For your reference, Version 2020.4 now ships with OpenJDK 13.0.2). Please let us know if you require any further information.

Tal | Last updated: May 05, 2020 12:34PM UTC

Hi, I have visit https://jdk.java.net/13/ to download OpenJDK 13.0.2... They said: JDK 13 has been superseded. Please visit jdk.java.net for the current version. Do I need to download the file from the Archived OpenJDK? This one? https://download.java.net/java/GA/jdk13.0.2/d4173c853231432d94f001e99d882ca7/8/GPL/openjdk-13.0.2_windows-x64_bin.zip

Tal | Last updated: May 06, 2020 08:24AM UTC

Gentle reminder

Ben, PortSwigger Agent | Last updated: May 06, 2020 11:16AM UTC

Hi, You can download 13.0.2 (build 13.0.2+8) from the following location: https://jdk.java.net/archive/

Tal | Last updated: May 06, 2020 11:52AM UTC

As they wrote on the site: JDK 13 has been superseded. Is it possible to use the last version (14 GA build 14+36) ?

Tal | Last updated: May 06, 2020 12:33PM UTC

WARNING: These older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.

Ben, PortSwigger Agent | Last updated: May 06, 2020 05:43PM UTC