From owner-freebsd-java@FreeBSD.ORG Sun Oct 21 15:01:13 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3A5816A47B for ; Sun, 21 Oct 2007 15:01:13 +0000 (UTC) (envelope-from marco.borsatino@poste.it) Received: from relay-pt3.poste.it (relay-pt3.poste.it [62.241.4.129]) by mx1.freebsd.org (Postfix) with ESMTP id 0D64B13C4A3 for ; Sun, 21 Oct 2007 15:00:19 +0000 (UTC) (envelope-from marco.borsatino@poste.it) Received: from odino.marbosoft.org (151.57.6.2) by relay-pt3.poste.it (7.3.122) (authenticated as marco.borsatino@poste.it) id 471A88CA00001F6D; Sun, 21 Oct 2007 16:59:17 +0200 From: Marco To: Norberto Meijome , freebsd-java@freebsd.org Date: Sun, 21 Oct 2007 16:59:06 +0200 User-Agent: KMail/1.9.4 References: <200710201436.34734.marco.borsatino@poste.it> <20071022000117.434fef22@meijome.net> In-Reply-To: <20071022000117.434fef22@meijome.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710211659.06763.marco.borsatino@poste.it> Cc: Subject: Re: Problems with java applets and firefox X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 15:01:13 -0000 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 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.