title: import sun.misc.BASE64Encoder results in error compiled in Eclipse
body: <p>For this two imports;</p>
  
  <pre><code>import sun.misc.BASE64Encoder;
  import sun.misc.BASE64Decoder;
  </code></pre>
  
  <p>I got this error:</p>
  
  <pre><code>Access restriction: The type BASE64Decoder is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar
  </code></pre>
  
  <p>How can I resolve this error?</p>