Date: Fri, 17 Oct 1997 10:00:23 +0100 From: Scott Mitchell <scott@dcs.qmw.ac.uk> To: Patrick Gardella <patrick@cre8tivegroup.com> Cc: questions@freebsd.org Subject: Re: JDK 1.1.4 Message-ID: <199710170900.KAA14699@andromeda> In-Reply-To: <114364897@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Gardella said: >Alex said: >>You can also use the Linux port at: www.blackdown.org > >And then he wrote: >>When you execute "java" or "javac", these file are actually symbolic >>links to a file called ".java-wrapper". This is a shell script that >>configures the environment, among other things. > >>The problem is that this shell script invokes a few system-related >>binaries like "uname" which have different parameters on FreeBSD than on >>Linux. > >>You can just arrange the shell script to use the proper parameters and >>you won't get these anoying messages. > >Olaf said: >>The Linux JDK from java.blackdown.org works very well with Linux emulation, >>too (after tweaking bin/.java_wrapper a little). > > > >How does one go about using the linux java port? I've downloaded 1.1.3-v2 >and the updater to v2-1 from blackdown. > >Would anyone be willing to send me a copy of their .java-wrapper? I'll >try some tweaking, but shell scripting is not my strong point! > >Much obliged! > >Patrick One installs the Linux emulation library from the port collection, unpacks the JDK archive in a convenient place, and updates a few environment variables (PATH, JAVA_HOME, CLASSPATH, ...). The setup instructions for the JDK itself are probably included but it's pretty trivial. As far as the .java_wrapper script goes, I think it was just a matter of changing the invocation of 'arch' to the appropriate variant of 'uname' and using the FreeBSD equivalent to some weird option of '['. It's on my home machine so not accessible right now -- I'll try to remember to mail you a copy over the weekend. HTH, Scott -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just <scott@dcs.qmw.ac.uk> | 0xE8A64271 | like a dried up piece of roast goat" QMW College, London, UK | | -- J. S. Bach.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710170900.KAA14699>