Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup exception on Mac OS X, class not found: jdk.net.NetworkPermission #50

Closed
fancyerii opened this issue Dec 31, 2014 · 3 comments
Closed
Milestone

Comments

@fancyerii
Copy link

I am using mac os x
/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin/java -jar gngr-v0-2-0.jar
java.lang.NoClassDefFoundError: jdk/net/NetworkPermission
at org.lobobrowser.store.StorageManager.(StorageManager.java:76)
at org.lobobrowser.store.StorageManager.(StorageManager.java:66)
at org.lobobrowser.main.ReuseManager.launch(ReuseManager.java:77)
at org.lobobrowser.main.EntryPoint.launch(EntryPoint.java:63)
at org.lobobrowser.main.EntryPoint.lambda$0(EntryPoint.java:79)
at org.lobobrowser.main.EntryPoint$$Lambda$1/834600351.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.lobobrowser.main.EntryPoint.privilegedLaunch(EntryPoint.java:78)
at org.lobobrowser.main.EntryPoint.main(EntryPoint.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at uno.Uno$3.run(Uno.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at uno.Uno.startMain(Uno.java:193)
at uno.Uno.main(Uno.java:233)
Caused by: java.lang.ClassNotFoundException: jdk.net.NetworkPermission
at uno.Uno.findClass(Uno.java:110)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more

@hrj
Copy link
Member

hrj commented Dec 31, 2014

Thanks for reporting. Which version of OS X and Java do you use? Is it OS X 10.8.x ?

This exception is similar to the one reported in the comments under #8 and that user was using OS X 10.8.5

However, when we tested with OS X 10.9 and 10.10, we didn't encounter any problems.

@hrj hrj changed the title startup exception startup exception on Mac OS X Dec 31, 2014
@hrj hrj added this to the 0.3 milestone Dec 31, 2014
@hrj hrj changed the title startup exception on Mac OS X startup exception on Mac OS X, class not found: jdk.net.NetworkPermission Jan 1, 2015
@hrj
Copy link
Member

hrj commented Jan 1, 2015

Based on a discussion on Reddit it seems like the first JRE 8 release didn't have the required classes.

@fancyerii Please confirm which version of Java you are using, and whether you still face the problem with the latest version.

I am closing this issue for now, but can reopen if more information comes through.

@hrj hrj closed this as completed Jan 1, 2015
@adrianN
Copy link
Contributor

adrianN commented Jan 3, 2015

Updating to 1.8.0_25 fixes the SSL problem, as well as the problem with running gngr via java -jar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants