access restriction??? wtf!?!
yesterday i just installed j3d but when i started using it all of the classes gave me this error
Quote:
Access restriction: The type SimpleUniverse is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\j3dutils.jar
what happened and how do i fix it ?
Re: access restriction??? wtf!?!
Re: access restriction??? wtf!?!
Re: access restriction??? wtf!?!
This doesn't answer your question, but for what its worth, in my experience with j3d - which includes much blood, sweat, and tears - I came away thinking j3d needs much work and a major overhaul. The issues I encountered was memory leaks. I know I know, hard to associate java with memory leaks, but I spent a good deal of time tracking them down, watching memory useage climb when it shouldn't, seeing out of memory exceptions, and researching the root of the problems, finally concluding it was j3d itself. For smaller projects its probably not an issue, but for larger projects you may want to consider an alternative, many of which aren't pretty (I ended up porting to c++ using OpenGL, but openGL can be used through the java interface JOGL).
Re: access restriction??? wtf!?!
ok , so i'll play around with j3d for a while b4 i search for a program that can be used for a larger scale ( bigger than rune scape scale =D )
Re: access restriction??? wtf!?!
Java 3D is no longer maintained (I think it's been inactive for around 2 years or so). If you're looking for a good hardware accelerator for Java that has 3D support, use JOGL. I heard there's also a great little API for 2D apps that's not as complicated as JOGL, but I don't remember what it's called.
Re: access restriction??? wtf!?!
There is always something called Slick I think which is a 2D graphics engine built on top of OpenGL :)
// Json