From owner-freebsd-java@FreeBSD.ORG Sun Oct 21 14:28:56 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 CCB3E16A469 for ; Sun, 21 Oct 2007 14:28:56 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 8B9A213C4B7 for ; Sun, 21 Oct 2007 14:28:36 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 23777 invoked from network); 21 Oct 2007 09:01:24 -0500 Received: from 124-170-95-182.dyn.iinet.net.au (HELO localhost) (124.170.95.182) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 21 Oct 2007 09:01:23 -0500 Date: Mon, 22 Oct 2007 00:01:17 +1000 From: Norberto Meijome To: Marco Message-ID: <20071022000117.434fef22@meijome.net> In-Reply-To: <200710201436.34734.marco.borsatino@poste.it> References: <200710201436.34734.marco.borsatino@poste.it> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org 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 14:28:57 -0000 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.