Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 1999 08:39:36 +0200
From:      Sven Reimers <reimers@tu-harburg.de>
To:        "Christopher T. Griffiths" <cgriffiths@quansoo.com>
Cc:        java@FreeBSD.ORG
Subject:   Re: Linux JDK1.2 port
Message-ID:  <380C1228.92E6C7A1@tu-harburg.de>
References:  <Pine.BSF.4.10.9910181703360.4377-100000@defiant.quansoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380C1228.92E6C7A1>