Date: Tue, 12 Feb 2002 18:11:23 +1100 From: Andrew Reilly <areilly@bigpond.net.au> To: Michael Westbay <westbay@seaple.icc.ne.jp> Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java for FreeBSD Message-ID: <20020212181123.A63446@gurney.lake> 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 %2B1100 References: <20020211142834.A81586@sr.se> <20020212155415.A64695@gurney.reilly.home> <200202120547.OAA22602@orca.seaple.icc.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212181123.A63446>