How can I use charsets.jar without installing it in the client JRE?

Hi! I've an applet that needs to do some CP850. Since many of the clients are from english speaking countries, they do not have the appropriate JAR that supports the CP850 encoding. Now, I have the charsets.jar which has this encoding. If I install it in the client jre/lib/ext folder, my applet works perfectly, but I don't want to do that. Instead, I want the applet to read it from its own jar or, including the charsets.jar in the archive parameter. I have tried both, adding the whole of charsets.jar to my applet jar using jar -xc dependences\charsets.jar, and also, by putting it in the archive parameter of the applet. None of them works, and I don't know why. If someone can tell me why it didn't work, and how can I make it to work, I'll be very thankfull.
I've been trying also to use a URLClassLoader, but here I got access exceptions:
URL urlCharsets = new URL("http://url.com/jars/charsets.jar");
URL[] urls = {urlCharsets };
URLClassLoader classloader = new URLClassLoader(urls);
                    classloader.loadClass("sun.io.ByteToCharCp850");Security Access exception here... and the charsets.jar that I'm loading IS signed. No idea what to do here.
Best regards and happy new year!
Message was edited by:
obirenokenobi

Hi,
Assuming your applet jar and the charset jar are ine the same location on your
server, I'll suggest to use this:
<applet code="myapplet/myapplet.class" archive="myapplet.jar,charset.jar" height="400" width="550"></applet>Hope that help,
Jack

Similar Messages

Maybe you are looking for

  • Posting problems with FM Credit Memos SD-FICA Mess Class FKKFMCHK  018

    Hi, We use Funds Management FM, SD and FI-CA, in Public Sector, we are customizing credit and debit memos. Doing testing,  we trying to post Credit Memos in FI-CA from SD, but actually system is giving a dump. Initially, we could post some credit mem

  • DVD Menu/motion background issue

    Every time I try to add a motion background to my DVD menu, the photoshop menu gets stretched horizontally. It looks fine when you add the video but when you preview and render it or burn it to DVD it stretches the menu. see screen shot. 

  • Grinding noise then can't restart - help

    I was working in Adobe After Effects CS3 tonight on a MBP 15" I bought in the spring of 2006, and when I accidentally rotated a photo 80-some times in 3D space, it started making this terrible whining noise that was coming from the left side of the k

  • Red Hat 6.2/8i Minium Requirements

    The 8i preinstallation guide talks about setting the kernel, shared memory, and semaphore parameters (SHMMIN, SHMMNI, SHMMAX, etc.). Can't I just leave the default values and just proceed with the install? Did everyone else mess with theirs? I only h

  • SAP HANA Security - Best Practice for Access to Schemas??

    Hi, Currently we don'y have a defined Security model in HANA Studio.Neither there is no defined duties of a BASIS / Security / Developers. I want to understand what best practices are followed at other customers for defining security for Schema. 1. W