Possible improvement: Java Applets in Konqi

George Staikos staikos at kde.org
Wed May 8 20:50:29 BST 2002


On April 28, 2002 19:31, Till Krech wrote:
> Hi,
>
> After having some problems with applets in konqi, I looked into the java
> code of the kde applet server (kdelibs/khtml/java).
> please have a look at this link, where you find a patch against current
> HEAD and a kjava.jar to play with:
>
> http://till.dasburo.com/kjava/kjava.html
>
> Without the patch, the applet server loads classes, resources etc. via
> stdin/stdout pipe to konqueror. Resources in jar files cannot be loaded.
> Some applets crash with a ClassCastException.
> With the patch, the whole code is simplified and uses the java builtin
> URLConnection. It handles jar files correctly and should be faster.
>
> The patch is far from being complete and is only tested with j2sdk1.4.0.
> Some work still has to be done but I would like to hear your opinion.

   So far it seems to work for me, but it doesn't make that demo java2 thing 
work because I am using an older jdk anyways.  I have enough trouble getting 
java to work so I don't want to risk upgrading right now.  I think you should 
go for this approach though.  It seems like the right thing to me.






More information about the kfm-devel mailing list