Error with jt.jar How do I un-restrict the file?

Asked By 20 points N/A Posted on -

When I try to access 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!

Answered By 0 points N/A #85619

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.

  1. Go to windows>Preferences>Java
  2. Now open compilers and then Errors.
  3. A new window will appear. Here is drop down box labeled Forbidden References. By default it is set to error.
  4. 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.

Forbidden Reference

Login/Register to Answer

Related Questions