When I try to access com.sun.org.apache.bcel.internal.generic.AALOAD it returns as an error.
The Error is as following:Access Restriction: The type AALOAD is not accessible due to restriction on required library: C:Program Files(x86)Javajrelibrt.jar.
So my question is: how can I un-restrict the restrictions the rt.jar may have, so that my program can run properly, or is there another problem that is preventing me to access the file?
Many thanks!
Error with jt.jar How do I un-restrict the file?
Hi this issue is caused by the restriction on the file. You can solve this issue by following the given procedure.
-
Go to windows>Preferences>Java
-
Now open compilers and then Errors.
-
A new window will appear. Here is drop down box labeled Forbidden References. By default it is set to error.
-
Choose warning or ignore option to remove this error msg.
Remember warning or ignore will only hide this error. To permanently remove these errors please analyze this file. Hope this will solve your issue. Please see the attached image also.