Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Access restriction: not accessible due to restriction on required library

    • 0
    • 2
    • 1
    • 2
    • 0
    • 0
    • 0
    • 0
    • 944
    Comment on it

    When i was working on a class i have got the following error.. Access restriction: The type BASE64Encoder is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar

    I resolved it by looking up on google, where I found that the error was due to a missing/not compatible jar.

    1. Go to the Build Path settings in the project properties.
    2. Remove the JRE System Library.
    3. Add it back, Select "Add Library" and select the JRE System Library.

    And it worked for me.

    Hope this will help u as well..

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: