Mailinglist Archive: opensuse-kde (201 mails)

< Previous Next >
Re: [suse-kde] Problems with Java in Konqueror
  • From: Lennart Börjeson <lennart.borjeson@xxxxxxxxxxxx>
  • Date: Tue, 18 Nov 2003 14:56:01 +0100
  • Message-id: <200311181456.01099.lennart.borjeson@xxxxxxxxxxxx>
Have you checked the permissions on the offending file?

(ls -l /home/mikebela/Anfy/Applet/cfade/canale.jpg)

/Lennart

tisdagen den 18 november 2003 14.36 skrev Mike Béla:
> Hello, Cristian, Lee, Lennart and the others...!
>
> I took your advice: I enabled the Konqueror Java Console and I launched the
> Konqueror from Konsol.
>
> The Konqueror Java Console shows the undermentioned message:
>
> Java VM version: 1.4.2
> Java VM vendor: Sun Microsystems Inc.
> Proxy: :0
> java.security.AccessControlException: access denied
> (java.io.FilePermission /home/mikebela/Anfy/Applet/cfade/canale.jpg read)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.jav
>a:269) at
> java.security.AccessController.checkPermission(AccessController.java:401)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:524) at
> java.lang.SecurityManager.checkRead(SecurityManager.java:863) at
> sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:443)
> at sun.awt.SunToolkit.getImage(SunToolkit.java:490)
> at AnFade.b(AnFade.java)
> at AnFade.a(AnFade.java)
> at AnFade.c(AnFade.java)
> at AnFade.run(AnFade.java)
> at java.lang.Thread.run(Thread.java:534)
>
> ... and the Konsole (whence the Konqueror was launched) shows the following
> error mesage:
>
> mikebela@linux:~> konqueror
> WARNING: KDE detected X Error: BadMatch (invalid parameter attributes)
> \x08 Major opcode: *
>
> My question: what's the meening of this error message and what's the
> solution? Thanks for your patience!
>
> Best regards,
> -Bela-
> (a Silly Donkey)
> -----------------------------
> Mike,
> I can't think of a reason that Konq should not do the Java or Javascript
> if everything is set correctly. I have never ever used a version of
> Konq that didn't work with javascript or most java things either. Very
> early on, there were some really heavy Java that might not work, but
> you have what is sounding like Javascript stuff and that is completely
> different than Java! One has nothing to do with the other!
>
>
> There has to be a setting you have missed or messed up, but I honestly
> don't know where to tell you to start looking at this point. Create
> yourself another user, brand new and try the same spots after checking
> your settings for Java, Javascript & correct locations of Mozilla
> plugins. If that fails, then start Konq from a shell and see if you
> get any reports of problems in the shell.
>
>
> Lee
> -----------------------------
> Have you enabled the "show console" option on the Java & Javascript tab in
> Konqueror? If Konqueror find the java exe but it then fails you should at
> least get a console window with some error messages, which might give
> further clues.
>
>
> /Lennart
> -----------------------------
> Hello Christian and Lee!
>
>
> Thank you for your answers! I do not intend to annoy anybody, but the Java
> Applets still not run with Konqueror. Every setting mentioned by yours are
> properly configured (symlink, Java & Java Script settings in Konqueror, the
> path to the Mozilla plugins)... and Mozilla and Opera play perfectly the
> Applets... but the Konqueror still not run them. It's visible the outline
> of the applets and a message that Konqueror is loading the applet, and
> everything stops here.
>
> -Bela-
> -----------------------------
>
> > On Sunday 16 November 2003 01:18 pm, Mike Béla wrote:
> > HI!
> >
> > I ask again my question raised a few days ago.
> > I'm using SuSE 9.0 Professional Edition, KDE 3.1.4 and java2-jre
> > 1.4.2. MOZILLA (v1.4) and OPERA (v7.21) can play perfectly Java
> > Applets, but the KONQUEROR Web Browser cannot open them in spite of
> > the fact that I had configured the proper reaching path.
> >
> > Can anyone send me a suggestion?
> >
> > Best Regards,
> > -Bela-
>
> -------------------------------
>
> >Using Mozilla, you just need to set a symlink from >javadir/jre/bin/java
> >in /mozilladir/plugins/.
> >This will enable java.
> >Normally every browser will find your java sdk or jre if you set >a
> >symlink in your /usr/bin.
> >Best Regards,
> >Christian
>
> ------------------------------
>
> > Mike,
> > Have you checked your settings or Java & Javascript in Konqueror?
> > Just
> > setting the correct paths won't make it right, you also have to set
> > them on in Konq settings>Java & Javascript.
> >
> > That's all you need to do is set the path to the Mozilla plugins and
> > turn on Java, Konq will find and use any plugins that Mozilla uses.
> >
> > Lee

--
!++
! Lennart Börjeson
! Partner, Developer
! Cinnober Financial Technology AB
! Industrigatan 2A
! S-112 46 STOCKHOLM
! Sverige/Sweden/Schweden/Suède
! mailto:Lennart.Borjeson@xxxxxxxxxxxx
! phone:+46-8-50304700
! fax:+46-8-50304701
! http://www.cinnober.com
!--


< Previous Next >