File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where can I download a jar that has sun.misc.BASE64Decoder

 
Paul Roubekas
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some code that uses sun.misc.BASE64Decoder. I need the jar. Where can I download it from? Sun developer and Google were no help.
 
Chris Stehno
Ranch Hand
Posts: 180
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, you should not be using that class, it is one of Sun's internal unsupported classes. If you need a base64 codec, I recommend the Jakarta Commons Codec API (http://jakarta.apache.org/commons/codec/).

If you really do need that class for some reason, it is most likely in the runtime.jar or one of the other library jars that make up the core JDK (but only in Sun's).

Hope this helps.
 
Jan Cumps
Bartender
Posts: 2575
11
C++ Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm assuming that you have read some warnings on internet about using this class (e.g.: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release).

It's available in rt.jar, that comes with Sun java runtimes.

In 1.5.0_06 : jre\lib\rt.jar

Regards, Jan
 
sudheer kiran
Ranch Hand
Posts: 237
Firefox Browser MyEclipse IDE Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nice info...thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic