Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem with access restriction on Java3D

807580Sep 11 2009 — edited Nov 5 2009
Hi,

I have recently installed the latest eclipse (Ganymede 3.4.2), latest java jdk SE release, latest JRE and latest version of Java3D. When I try to program in Java3D in eclipse I get the following message on all calls to Java3D: Access restriction: The constructor Alpha() is not accessible due to restriction on required library C:\Program\Java\jre6\lib\ext\j3dcore.jar

with the difference that the error regards different functions and different libraries in Java3D. When I look in the settings for libraries the needed libraries are there, but ALL libraries has 158 access restrictions which I don't know how to remove (the access restrictions are on the jars, not in eclipse). the access restrictions define 158 libraries that are okay to use, and no other libraries should be used. Java3d is not included in this list. It is possible to remove this problem by setting eclipse to ignore access restrictions, but in that case I get very limited auto-complete.

I have the exakt same things installed on my other computer and there everything works fine, and there is not one single access restriction. I tried to copy the jar:s for java3D from the working computer to this one, but there was no difference. I also tried to "reinstall" eclipse by deleting everything (including settings) and copying the new version.

Does anyone have an idea why this isn't working?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2009
Added on Sep 11 2009
2 comments
221 views