Date: Thu, 31 May 2001 11:49:36 -0600 From: Stacy Millions <stacy@millions.ca> To: Peter Choe <choepete@mindspring.com> Cc: freebsd-database@FreeBSD.ORG Subject: Re: oracle8.1.7 on freebsd 4.3-stable Message-ID: <3B168430.905295DA@millions.ca> References: <3B1645CF.74C4D702@mindspring.com> <3B166A76.41234135@millions.ca> <3B167B64.CC50F3D8@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Peter Choe wrote:
[snip]
> how do you install the linux jre? i downloaded it and just untarred
> it. but it seems to me that is not correct. any help would be
> appreciated.
As I recall, there were two things I had to do to beat the Blackdown
jre into running on FreeBSD. The first was to supply an arch command.
This amounted to a shell script that I put in /compat/linux/bin
#!/bin/sh
echo i686
The second was a crude hack of the jre script itself. See the
attached patch file. It is not pretty, but since I only wanted
this jre long enough to install oracle, I didn't really care :-)
This patch is against the jre 1.1.6v5 so it proably won't apply
cleanly to 1.1.8
-stacy
--
Nothing spoils fun like finding out it builds character.
- Calvin
Stacy Millions stacy@millions.ca
Millions Consulting Limited
[-- Attachment #2 --]
*** jre.orig Wed Dec 13 20:50:18 2000
--- jre Wed Dec 6 13:20:21 2000
***************
*** 17,22 ****
--- 17,24 ----
;;
esac
+ THREADS_TYPE=green_threads
+
if [ -z "$JAVA_HOME" ]
then
PRG=`type -p $0` >/dev/null 2>&1
***************
*** 48,56 ****
if [ -z "${IN_JDK_BUILD}" ]
then
! if [ -x ${JAVA_HOME}/bin/checkVersions ]
then
! if ${JAVA_HOME}/bin/checkVersions jre
then
# note the trailing colon is required!
JDK_LIBS="${libPath}/linuxlibs:"
--- 50,58 ----
if [ -z "${IN_JDK_BUILD}" ]
then
! if true
then
! if false
then
# note the trailing colon is required!
JDK_LIBS="${libPath}/linuxlibs:"
***************
*** 75,80 ****
--- 77,83 ----
prog="$JAVA_HOME/bin/${ARCH}/${THREADS_TYPE}/${progname}"
+ echo $prog $opts "$@"
if [ -f "$prog" ]
then
exec $DEBUG_PROG "$prog" $opts "$@"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B168430.905295DA>
