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"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did all of the following things that it said, but still can't find router, do i need to change the client ip ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 . . .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Same here
Please run the program from the command line (java -jar portmapper.jar) and send the output.
As a workaround please use the previous version.
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"
Please try the suggestens from the troubleshooting section: https://github.com/kaklakariada/portmapper/blob/master/README.md#router-not-found
I did all of the following things that it said, but still can't find router, do i need to change the client ip ?
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 . . .
Please use Java 11, see https://github.com/kaklakariada/portmapper#portmapper-fails-to-start
java 11 does work but then minecraft wont work because it becomes openjdk and minecraft doesnt like that
Latest java version, latest port mapper, still won't open. getting two java errors. followed all info here, through the help faq, nothing works.
What error messages so you get? I can help you if you give me more details.
I have this problem too, idk what to do
Which Java Version do you use? Please use Java 11.
Please send the output of
java -version
java -jar <portmapper.jar></portmapper.jar>