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

Friday, June 20th 2003, 11:59am

konqueror and java, does it really work ?

Hi,

I download and install javasoft's 1.4.1(well just untar as far as I can tell from the script) on my machine but konqueror seems to have problem running it. According to the documentation, all I need is point to the correct java vm through the setting screen.

The reality is, only those very simple 'toy' class floating on the net works but if I go to some site which requires download a set of classes, that would launch a new window as well as using HTTPS, none works. konqueror keeps on saying 'class not found' which I believe is because the download somehow failed.

Does anyone have experience in making konqueror runs java happily ? I have also tried blackdown's 1.3 and the result is the same. I don't have any problem running it using Mozilla though so I believe it is still some setup problem.

kde-forum

Unregistered

2

Friday, June 20th 2003, 12:01pm

distro?

It would be helpfull if you could post your distros name!

For Debian there DEBs (on an inofficial server)

For the rpm distros are RPMs on the net on mass. When I know your distro maybe I can find the right package for you!

3

Friday, June 20th 2003, 1:55pm

ah, I forgot, sorry.

I am running Debian Woody.

The jre 1.4 is a straight download from javasoft. I grab the debian package of blackdown(1.3) from their mirror. Both runs fine as standalone for locally downloaded jars.

thanks for helping me out.

kde-forum

Unregistered

4

Friday, June 20th 2003, 3:04pm

java

maybe you add this:

deb ftp://ftp.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian woody main non-fr

but i don't know if there is a new and stable version online!

5

Friday, June 20th 2003, 4:24pm

I have already installed the blackdown 1.3 which should be the latest for woody(from the main mirror site). There is no 1.4 for woody.

The same installation works fine under Mozilla 1.3.

I did a search on this site and found that someone else also experienced similar problem. Seems that the on-the-fly download of java applet has some problem. As I said, if it is some simple applet which may consist of only one class(or may be one jar), it seems to be running fine.

What I have tested(and is needed) is something that is much more sophiscated than these java applet games and they all failed.

6

Friday, June 20th 2003, 10:06pm

It works automagically on Gentoo. I'm viewing a Java enabled site as I speak.

Regards,

Mystilleef
KDE Seeker.

7

Saturday, June 21st 2003, 12:35am

thanks. the problem is, it doesn't work on the site I need to go to. It works on some sites(mostly java applet games which I google around) but not on the site I that I need.

If you have time and don't mind, would appreciate if you can help me out to isolate the problem by going to http://www.interactivebrokers.com/html/tws/demo.html , and test the demo. If it works here, I believe it should work every where and at least I know it is possible :wink:

8

Saturday, June 21st 2003, 9:05am

Quoted

Original von garyng

thanks. the problem is, it doesn't work on the site I need to go to. It works on some sites(mostly java applet games which I google around) but not on the site I that I need.

If you have time and don't mind, would appreciate if you can help me out to isolate the problem by going to http://www.interactivebrokers.com/html/tws/demo.html, and test the demo. If it works here, I believe it should work every where and at least I know it is possible :wink:


Do you know how to get the console output from kjas
(that's the java support module)?
You can enable it in the Konqi settings
-> java -> checkbox "show java console"
(i hope that's what it's called in English)

Now you'll get a popup window with console output
every time you go to a page that contains a java applet.

You can also add the option
-Dkjas.debug=1
to the field "additional java arguments"


I get "applet failed" in KDE 3.1.2 with jdk1.4.1_03

It cannot load one of the needed java classes.
Judging from the debug output I got the classes are served
by a perl script that is configured with query parameters.
Maybe there's an issue with that approach in kjas.
But that is just a wild guess.

You might want to report this page as a bug at bugs.kde.org
Or better search the bug database first to see if something
like that has already been reported.

9

Saturday, June 21st 2003, 11:07am

thanks, that is exactly what I got in both jre1.3(blackdown) and 1.4(javasoft).

Seems to be a bug as I initially guess.

10

Saturday, June 21st 2003, 12:01pm

Quoted

Original von garyng

thanks, that is exactly what I got in both jre1.3(blackdown) and 1.4(javasoft).

Seems to be a bug as I initially guess.


BTW: The same exception occurs if I try to launch
the applet in java's own appletviewer:
appletviewer 'http://www.interactivebrokers.com/cgi-pub/jtslink.pl?user_name=edemo'

11

Saturday, June 21st 2003, 2:31pm

But I can run it fine from within Mozilla 1.3, strange isn't it ? thanks for taking the time and effort to test it out.