You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 13th 2003, 6:13pm

Can't run Java Applets in Konqueror

I posted this on the Gentoo forums originally, but didn't get any helpful response. Hopefully, someone here will be able to help me.

Here is a cut and paste of My Original Post

I thought I had this all set up right... I'm trying to access the console on a NetWare box using a Java Applet with the NetWare Remote Manager, but I get this error in the Java Console:

[code:1]
Class could not be loaded: nwscreen
Backtrace:
java.lang.ClassNotFoundException: nwscreen
   at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
   at org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:233)
   at org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:274)
   at org.kde.kjas.server.KJASAppletStub$2.run(KJASAppletStub.java:163)
   at java.lang.Thread.run(Thread.java:536)[/code:1]

I've tried using the Sun JDK and the Blackdown, same results with each. I know it's just something stupid... I just don't know what, exactly. Oh, and yes, the app works just fine in windows with sun's jdk 1.3.1 (the same jdk I'm trying to use with Konq).

My Java settings are like this:

Enable Java Globally is On (Turned this on hoping it might solve the problem)

Show Java Console is On, Use Security Manager is On, Shutdown Applet is On and set to 60 secs, and the path to the Java executable is correct. I've tried turning these options on and off in some hope they might magically fix the problem :)

Anyone have any ideas? :)

You might also want to have a look at My Original Post if you feel like answering there :)

2

Tuesday, May 13th 2003, 8:11pm

That looks like a netware applet that is not available on your linux machine. I don't know if you could copy it over from the netware machine.

3

Tuesday, May 13th 2003, 11:14pm

yes, that's what's happening, it doesn't know where to find the applet. But shouldn't it have downloaded it somewhere? I think the problem lies in that it downloads the applet then doesn't know where to find it. Does that make sense? How do I fix it?

4

Wednesday, May 14th 2003, 12:12am

I am no java expert, but I don't think the applet will automatically be pulled acros the network and then executed locally. (The security risks on than make me shiver).

I suggest you find the applet on the netware machine and copy it over to the linux machine. (There is probably more than one applet that needs copying)

5

Wednesday, May 14th 2003, 12:29pm

I would think it -does- get pulled over the internet. I used to have a webpage which contained an applet to show a mirroring effect like rippling water below a picture.

The clients surely wouldn't have the applet, however they -can- view the effect. Also, when you went to the url, you would see that the applet was mentioned as if it was being downloaded. Also, in the HTML code to include the applet, you have to specify where it is. And finally, you will find it in the cache of your browser.

The design of the java language would take care of the security issues that surround the downloading of code.