From owner-freebsd-java Mon Feb 11 23:19:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-240-160.nsw.bigpond.net.au [144.132.240.160]) by hub.freebsd.org (Postfix) with SMTP id 8AB5C37B402 for ; Mon, 11 Feb 2002 23:19:06 -0800 (PST) Received: (qmail 66153 invoked from network); 12 Feb 2002 07:11:24 -0000 Received: from localhost (HELO gurney.reilly.home) (andrew@127.0.0.1) by localhost with SMTP; 12 Feb 2002 07:11:24 -0000 Date: Tue, 12 Feb 2002 18:11:23 +1100 From: Andrew Reilly To: Michael Westbay Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020212181123.A63446@gurney.lake> References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <200202120547.OAA22602@orca.seaple.icc.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <200202120547.OAA22602@orca.seaple.icc.ne.jp>; from westbay@seaple.icc.ne.jp on Tue, Feb 12, 2002 at 16:48:10 +1100 X-Mailer: Balsa 1.3.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Michael, Thanks for your suggestions. On 2002.02.12 16:48 Michael Westbay wrote: > Applets do work in Konqueror (KDE) on FreeBSD with the native JDK. The only > problem is that LiveScript (JavaScript) control over an applet doesn't work > in Konqueror and some applets appear outside of the browser frame. Hmm. I've gone the GNOME path, mostly because I don't like C++. I'd prefer not to have to keep two gigantic tool and library sets current, just to run Konqueror... > > Can the j2ee sdk (jdk13) be used to run applets, even in > > stand-alone mode? I want to do GUIs, rather than server-side > > database applications. > > I would recommend creating an application (as opposed to applet) and > deploying with WebStart. That works fine on Netscape 4.7x, Mozilla, and > Konqueror (although I recall having to tweak some things to get it to find > the native JRE). You get the advantages of an application (which could talk > to a web service if you so chose) with the deployability of an applet. I've found Java Web Start on the Sun pages, and it does indeed look (a) interesting, and (b) closer to what I really wanted in the first place than I knew existed. A small tweak to my system (sym-linking /usr/local/bin/bash to /bin/bash) allowed the linux version of the installer to run, and a bit of mucking about with the gnome MIME type configurer has convinced both galeon and mozilla to at least _start_ the javaws gizmo. Their javascript buttons don't work, but thankfully they have a no-javascript version of the page. The trouble is that the first thing that it seems to do in all cases (on the demo app page) is go looking on sun's web site for the JRE, having decided that I don't have an appropriate one running. This, despite the fact that it seems to be running under said jre. I notice that the install has produced an executable: javawsbin, which is unbranded, but presumably a linux binary. Wonder if that's causing a problem? For a nominally system-independant software platform, Sun seems to be going out of their way to tie Java to their preferred platforms (four of them: windows, solaris-sparc, solaris-i386, linux-i386). Pretty poor, I think. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message