Menu

#67 Error: A JNI error has occurred

v1.0_(example)
open
None
2
2021-11-07
2019-05-03
eeeeee
No

I keep getting this error when i open up the program, always happens. Help

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2019-05-08

    Same here

     
  • Christoph

    Christoph - 2019-05-09

    Please run the program from the command line (java -jar portmapper.jar) and send the output.
    As a workaround please use the previous version.

     
  • eeeeee

    eeeeee - 2019-05-10

    Thanks, the previous version works. One question, do you know how i can port a tf2 server with this ? I get "WARN Could not connect to router: Did not find a router"

     
  • eeeeee

    eeeeee - 2019-05-11

    I did all of the following things that it said, but still can't find router, do i need to change the client ip ?

     
  • Anonymous

    Anonymous - 2019-07-20

    C:\Users\Måns\Desktop\Port>java -jar portmapper.jar
    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/chris/portmapper/PortMapperStarter has been compiled by a more recent version of the Java Runtime (class file version 55.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\Måns\Desktop\Port>PAUSE
    Press any key to continue . . .

     
  • Anonymous

    Anonymous - 2021-01-09

    java 11 does work but then minecraft wont work because it becomes openjdk and minecraft doesnt like that

     
  • Anonymous

    Anonymous - 2021-09-04

    Latest java version, latest port mapper, still won't open. getting two java errors. followed all info here, through the help faq, nothing works.

     
  • Christoph

    Christoph - 2021-09-04

    What error messages so you get? I can help you if you give me more details.

     
  • Anonymous

    Anonymous - 2021-11-05

    I have this problem too, idk what to do

     
  • Christoph

    Christoph - 2021-11-07

    Which Java Version do you use? Please use Java 11.

    Please send the output of

    java -version
    java -jar <portmapper.jar></portmapper.jar>

     

Anonymous
Anonymous

Add attachments
Cancel