From owner-freebsd-java Mon Oct 18 23:39:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by hub.freebsd.org (Postfix) with ESMTP id A19A315F77 for ; Mon, 18 Oct 1999 23:39:40 -0700 (PDT) (envelope-from reimers@tu-harburg.de) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id IAA17255; Tue, 19 Oct 1999 08:39:37 +0200 (MET DST) Message-ID: <380C1228.92E6C7A1@tu-harburg.de> Date: Tue, 19 Oct 1999 08:39:36 +0200 From: Sven Reimers X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Christopher T. Griffiths" Cc: java@FreeBSD.ORG Subject: Re: Linux JDK1.2 port References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have it up and running really stable and fast, I am even using Netbeans with it. Use the diff for .java.wrapper to get rid of the error messages caused by the script. --- .java_wrapper.org Wed Jun 9 18:19:46 1999 +++ .java_wrapper Wed Jun 9 18:41:52 1999 @@ -31,8 +31,8 @@ # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/bin/expr "$ls" : '.*-> \(.*\)$'` + if /bin/expr "$link" : '\/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" (Thanks to Daichi T.GOTO -- daichi@ongs.net) Then you should use the -green option to use green threads, only those work. Try java -version so if it works. Maybe you have to update the Xlibs in the linux compat. There seem to be missing one. Wait for the special error message and see. Last thing is to get the free URW fonts to get rid of the annoying messages about missing fonts. All in all that should, at least this is all I can remember. Good luck Sven P.S. I put the JDK in /usr/local/jdk1.2 and linked the java etc. scripts in /usr/local/bin. "Christopher T. Griffiths" wrote: > Has anyone had any luck with the linux port for 1.2 under emulation?? > > I have it installed but am getting the following error when running java: > > /usr/bin/expr: not found > Error: can't find libjava.so. > > I have seen in this list that people are running it so if anyone can give > me some advice for getting this to run that would be great. > > Thanks > > Chris > > Christopher T. Griffiths > Senior Network/Systems Administrator > Quansoo Group Inc. > cgriffiths@quansoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message