File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Where can I download a jar that has sun.misc.BASE64Decoder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Where can I download a jar that has sun.misc.BASE64Decoder" Watch "Where can I download a jar that has sun.misc.BASE64Decoder" New topic
Author

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

Paul Roubekas
Greenhorn

Joined: Jul 17, 2001
Posts: 24
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

Joined: Feb 26, 2001
Posts: 180
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.


- Chris Stehno, SCPJ
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2504
    
    8

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


OCUP UML fundamental and ITIL foundation
youtube channel
sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

nice info...thanks


Sudheer
SCWCD, SCJP 5
 
jQuery in Action, 2nd edition
 
subject: Where can I download a jar that has sun.misc.BASE64Decoder