Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Error in paths
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Mon Apr 18, 2011 9:51 am   Post subject: Error in paths

So I have these two errors running any of the java 3D API programs. And I assume there is a problem with administrative rights or my open GL

Applet Errors:
Java:
java.lang.ExceptionInInitializerError
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:227)
        at ClockApp.<init>(ClockApp.java:81)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
        at java.security.AccessController.checkPermission(AccessController.java:546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:235)
        at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:299)
        at java.lang.ThreadGroup.getParent(ThreadGroup.java:150)
        at javax.media.j3d.MasterControl$16.run(MasterControl.java:3680)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.j3d.MasterControl.<clinit>(MasterControl.java:3673)
        ... 12 more


Application errors:
Java:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:189)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:180)
        at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:137)
        at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:948)
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
        at ClockApp.<init>(ClockApp.java:81)
        at ClockApp.main(ClockApp.java:107)


Help is appreciated (:
Sponsor
Sponsor
Sponsor
sponsor
2goto1




PostPosted: Mon Apr 18, 2011 10:24 am   Post subject: RE:Error in paths

Googling the error message brings back a bunch of search results: http://www.google.ca/search?sourceid=chrome&ie=UTF-8&q=java.lang.UnsatisfiedLinkError%3A+no+j3dcore-ogl+in+java.library.path

It looks like Java 3D DLL needs to be in your path, according to the first few search results that Google reports, http://www.filsa.net/2008/07/17/eclipse-java3d-and-javalibrarypath/ http://www.eclipsezone.com/eclipse/forums/t86839.rhtml

It sounds like there may be a few dll references that you need to add to your path, and possibly a few additional jars. Try reviewing http://www.filsa.net/2008/07/17/eclipse-java3d-and-javalibrarypath/ and http://www.eclipsezone.com/eclipse/forums/t86839.rhtml
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: