Problems with java applets and firefox

Marco marco.borsatino at poste.it
Sun Oct 21 08:01:13 PDT 2007


Great idea.
I report the error given by firefox-devel:
------

GConf Error: Failed to launch configuration server: Failed to execute child 
process "/usr/local/libexec/gconfd-2" (Invalid argument)

GConf Error: Failed to launch configuration server: Failed to execute child 
process "/usr/local/libexec/gconfd-2" (Invalid argument)

Exec of "/usr/local/diablo-jdk1.5.0/jre/bin/java_vm" failed: Invalid argument

Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 6
Could not start JavaVM!

VM did not start up properly
Exec of "/usr/local/diablo-jdk1.5.0/jre/bin/java_vm" failed: Invalid argument

Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 6
Could not start JavaVM!

VM did not start up properly

--------------------

Diablo works fine, as I can see. I'm studying Java with NetBeans, and it seems 
to work correctly. 
But ... now? Is it maybe a problem of the most recent firefox version? Should 
I return to 1.5 release?

Thanks for your help. Beto.

Marco



Alle 16:01, domenica 21 ottobre 2007, hai scritto:
> On Sat, 20 Oct 2007 14:36:34 +0200
>
> Marco <marco.borsatino at poste.it> wrote:
> > Hi all.
> > I have a problem with java applets and Firefox. This is the current
> > installation on my PC:
> >
> > - FreeBSD 6.2
> > - apache 2.2
> > - tomcat 5.5.17
> > - firefox 2.0
> > - diablo-jdk 1.5.0.07.01.
> > All the packages have been installed with pkg_add -r (excepted diablo,
> > installed with pkg_add from my HD).
> >
> > When I tried first to execute a very simple java applet, I received an
> > error message "Missing Plugin - application/x-java-vm".
> > I followed a suggestion and I created a link like this:
> > #cd usr/local/lib/browser_plugins
> > #ln -s /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
> > After that I haven't received any error message, but, simply, java
> > applets are not executed at all, neither my simple trials nor the
> > standard examples for java runtime (like TicTacToe and so on).
> > When I go to "about:plugins" with firefox, I see that java environment is
> > active:
> > --------------------------------------------------
> > Java(TM) Plug-in diablo-1.5.0-b01
> >
> >     File name: libjavaplugin_oji.so
> >     Java(TM) Plug-in 1.5.0
> >
> > MIME Type 	Description 	Suffixes 	Enabled
> > application/x-java-vm 	Java 		Yes
> > application/x-java-applet 	Java 		Yes
> > application/x-java-applet;version=1.1 	Java 		Yes
> > application/x-java-applet;version=1.1.1 	Java 		Yes
> > application/x-java-applet;version=1.1.2 	Java 		Yes
> > application/x-java-applet;version=1.1.3 	Java 		Yes
> > application/x-java-applet;version=1.2 	Java 		Yes
> > application/x-java-applet;version=1.2.1 	Java 		Yes
> > application/x-java-applet;version=1.2.2 	Java 		Yes
> > application/x-java-applet;version=1.3 	Java 		Yes
> > application/x-java-applet;version=1.3.1 	Java 		Yes
> > application/x-java-applet;version=1.4 	Java 		Yes
> > application/x-java-applet;version=1.4.1 	Java 		Yes
> > application/x-java-applet;version=1.4.2 	Java 		Yes
> > application/x-java-applet;version=1.5 	Java 		Yes
> > application/x-java-applet;jpi-version=1.5 	Java 		Yes
> > application/x-java-bean 	Java 		Yes
> > application/x-java-bean;version=1.1 	Java 		Yes
> > application/x-java-bean;version=1.1.1 	Java 		Yes
> > application/x-java-bean;version=1.1.2 	Java 		Yes
> > application/x-java-bean;version=1.1.3 	Java 		Yes
> > application/x-java-bean;version=1.2 	Java 		Yes
> > application/x-java-bean;version=1.2.1 	Java 		Yes
> > application/x-java-bean;version=1.2.2 	Java 		Yes
> > application/x-java-bean;version=1.3 	Java 		Yes
> > application/x-java-bean;version=1.3.1 	Java 		Yes
> > application/x-java-bean;version=1.4 	Java 		Yes
> > application/x-java-bean;version=1.4.1 	Java 		Yes
> > application/x-java-bean;version=1.4.2 	Java 		Yes
> > application/x-java-bean;version=1.5 	Java 		Yes
> > application/x-java-bean;jpi-version=1.5 	Java 		Yes
> > ------------------------------------------
> > The same applets are correctly executed - on the same PC - by konqueror;
> > I only had to modify Konqueror configuration changing java interpreter
> > path to /usr/local/bin/java.
> >
> > Firefox in a Windows environment executes correctly all the apples.
> > Where is my mistake? Where can I find the solution?
> > Thanks for any help.
>
> Ciao Marco,
> not sure, it seems ok. Does firefox show any errors on stderror? launch
> firefox from a shell and see what messages come up, if any
>
> does diablo JDK work ok otherwise?
>
> B
> _________________________
> {Beto|Norberto|Numard} Meijome
>
> I used to hate weddings; all the Grandmas would poke me and
> say, "You're next sonny!" They stopped doing that when i
> started to do it to them at funerals.
>
> I speak for myself, not my employer. Contents may be hot. Slippery when
> wet. Reading disclaimers makes you go blind. Writing them is worse. You
> have been Warned.


More information about the freebsd-java mailing list