From owner-freebsd-java@FreeBSD.ORG Mon Sep 13 18:04:01 2010 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 590CC106566B; Mon, 13 Sep 2010 18:04:01 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E3B398FC1D; Mon, 13 Sep 2010 18:04:00 +0000 (UTC) Received: by qwg5 with SMTP id 5so4031084qwg.13 for ; Mon, 13 Sep 2010 11:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=u2y6fPHW3Cq2/cHsqfULPNF24c3hXGl1hQ2sqY+6taM=; b=R2y0irp7uVAWeUrWpsmt5JZydKQUwWyaLaOFOjrjPs8OfklFh+zhydhoe8GbWIqKIi HyM2fF+Yjh/2rCkd/FOhivNBb+XSAUy4BCjxu3c9aD9YzU6boMa4vIkCVBt7FA9u152g ewmlCh7eh8Z3uhlzkzxQhcvphkh5D9y6ULidg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=XteaRQwyF5EgJwMCytxt7QiizTLJlS0RSVpzSd7TpPuMsXTkKTTas9jcDmx2jn9XRr nE8BTV5SNoV3gt/t7Sdm8LcjihJ86g7aUiIJMHenL3gy5YqYblexN26HKr/vh2+uxwA7 At7sRS+A8mtnBfpcddQ1/T/DD/3Jx2FKtmCFQ= Received: by 10.224.19.147 with SMTP id a19mr878918qab.126.1284401034741; Mon, 13 Sep 2010 11:03:54 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.188.204 with HTTP; Mon, 13 Sep 2010 11:03:28 -0700 (PDT) In-Reply-To: <201009131354.24870.jkim@FreeBSD.org> References: <201009091743.01109.jkim@FreeBSD.org> <201009101900.37004.jkim@FreeBSD.org> <201009131354.24870.jkim@FreeBSD.org> From: Ivan Voras Date: Mon, 13 Sep 2010 20:03:28 +0200 X-Google-Sender-Auth: 1eV-AjI7nJvo4mbJu8gHppjSZus Message-ID: To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: IcedTea6 Mozilla plugin with OpenJDK6 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: Mon, 13 Sep 2010 18:04:01 -0000 On 13 September 2010 19:54, Jung-uk Kim wrote: > On Friday 10 September 2010 07:32 pm, Ivan Voras wrote: >> On 11 September 2010 01:00, Jung-uk Kim wrote: >> > On Friday 10 September 2010 06:13 pm, Ivan Voras wrote: >> >> But I cannot start for example this one: >> >> >> >> http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example >> >>1.h tml >> > >> > Probably you want to test it locally: >> > >> > file:///usr/local/openjdk6/demo/applets/ArcTest/example1.html >> >> Yes, the local copy works. So it is just failing to load applets >> over the network? Could this be some convoluted Java security >> problem? > > I believe it just timed out for your environment. =C2=A0In fact, there is= a If it is a timeout, it's a very quick one - well under a second. > reverse problem, i.e., some applets do not work locally when they > want to open local files. > E.g., /usr/local/openjdk6/demo/applets/MoleculeViewer/ > and /usr/local/openjdk6/demo/applets/WireFrame/ fail because they > cannot open files in subdirectory (models). =C2=A0If anyone can reproduce > the same problem under Linux environment, please file an upstream PR > here: > > http://icedtea.classpath.org/bugzilla/ > >> > BTW, IcedTea plugin is not 100% compatible with Sun/Oracle's. >> > =C2=A0Your mileage may vary. ;-) >> >> But the underlying Java is OpenJDK, right? > > Almost. ;-) There is a big missing piece for applet support in > OpenJDK, i.e., Web Start. =C2=A0IcedTea team imported Netx as a > replacement but it is not quite drop-in replacement, IMHO: > > http://jnlp.sourceforge.net/netx/ > http://langel.wordpress.com/2008/01/11/icedtea-and-netx/ I've tried your latest port (http://people.freebsd.org/~jkim/icedtea/openjdk6-icedteanp2.tar.bz2) and the problem with applet initialization / timeout remains, but the mutex "CPU eating" problem appears to be solved. I hope you can get some of those patches applied upstream :)