Results 1 to 7 of 7
- 09-03-2010, 02:26 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 4
- Rep Power
- 0
Replace ClassLoader with custom class loader in Java Plugin
Hi,
I want to replace the ClassLoader of the Java Plugin with a customized one in IE 6. I tryed to add the
-Djava.system.class.loader=CustomClassLoader
in the Java Control Panel but it doesn't seem to load this class loader.
I tried to put it in the same directory like the applet itself and also localy in the CLASSPATH, but no look.
There doesn't seem to be any documentation for how to do this.
Anybody knows how to do this?
Peter
- 09-04-2010, 03:28 AM #2
Do you want to use IE plugin only?
So you can use the common applet run html code I guess...
you can read this HTML Applets - HTML Code Tutorial
- 09-15-2010, 07:34 AM #3
Member
- Join Date
- Sep 2010
- Posts
- 4
- Rep Power
- 0
I got it working by creating a modified sun.applet.AppletClassLoader, put it in a jar and added the jar at the beginning of the boot class path using
-Xbootclasspath/p:C:/<path>/cl.jar
in the applet configuration panel. May be this can save someone some time.
Peter
- 09-15-2010, 01:10 PM #4
Could you explain where the applet configuration panel is?
Is it one of the tabs in the Control Panel for java?
- 09-15-2010, 01:55 PM #5
Member
- Join Date
- Sep 2010
- Posts
- 4
- Rep Power
- 0
Yes, it's the Java control panel, under Java Runtime-Parameter I have
-Xms256M -Xmx512M -Xbootclasspath/p:C:/<path>/cl.jar
- 09-19-2010, 03:36 PM #6
Member
- Join Date
- Sep 2010
- Posts
- 33
- Rep Power
- 0
Can you explain why you want change the ClassLoader with a local setting? I know that the classloader from the Appet and Java Web Start are not very good. We have also write our own application classloader.
But a local setting will interact with all applets that the bowser loads.
- 09-20-2010, 07:46 AM #7
Member
- Join Date
- Sep 2010
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
class loader problems!
By alacn in forum New To JavaReplies: 6Last Post: 08-11-2010, 10:51 PM -
TCCL (Thread context class Loader) ???
By OutOfMemory in forum Advanced JavaReplies: 0Last Post: 01-07-2010, 12:38 PM -
Class loader
By JavaJunkie in forum New To JavaReplies: 1Last Post: 05-06-2009, 01:17 PM -
java.sql.SQLException: No suitable driver .... when using Custom ClassLoader
By tomer1960 in forum Advanced JavaReplies: 13Last Post: 03-16-2009, 09:37 PM -
Problem of Classloader in Eclipse Plugin Developemt.
By Ashish Naidu in forum EclipseReplies: 0Last Post: 09-12-2008, 10:16 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks