简体   繁体   English

错误运行时在MacOSX 10.9.5上的netbeans上找不到类java3D simpleUniverse lib

[英]Error runtime can't find classes java3D simpleUniverse lib at netbeans on MacOSX 10.9.5

java.lang.NoClassDefFoundError: Could not initialize class com.sun.j3d.utils.universe.SimpleUniverse
at com.jbatik.modules.corak.component.CorakViewElement.init(CorakViewElement.java:140)
at com.jbatik.modules.corak.component.CorakViewElement.<init>(CorakViewElement.java:109)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.createElement(MultiViewFactory.java:447)

Please help me, i very confuse for installing java3d on MacOSX, before i using Windows 8.1 is good no problem. 请帮助我,在使用Windows 8.1之前,我非常困惑在MacOSX上安装java3d没问题。 I have copy the j3dutil,j3dcore,vecmath,jogl, and gluegen-rt on jre/lib/ext and nothing happen. 我已经在jre / lib / ext上复制了j3dutil,j3dcore,vecmath,jogl和gumgen-rt,但没有任何反应。

You have to install Java3D 1.6.0, I wrote a very detailed tutorial about it, please follow my instructions here . 您必须安装Java3D 1.6.0,我为此编写了非常详细的教程,请按照此处的说明进行操作。

You should NEVER copy any library into jre/lib/ext in order to avoid breaking applets and applications that might use a different version of Java3D or JOGL. 为了避免破坏可能使用其他Java3D或JOGL版本的applet和应用程序,请不要将任何库复制到jre / lib / ext。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM