Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 14:55:20 -0400 (EDT)
From:      jason <jason@welsh.dynip.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        java@FreeBSD.ORG
Subject:   Re: problems with jdk1.1.8 on freebsd 3.2
Message-ID:  <Pine.BSF.4.10.9907111440250.11037-101000@welsh.dynip.com>
In-Reply-To: <199907111813.MAA14644@mt.sri.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
a ktrace is attached (i think i did it right, never used it before.. :) )

just a few more clues,
i installed the jdk1.1.7 and the same thing happened. (javac crashes)
is it possible to download the source for the jdk and compile it myself?
I looked on www.javasoft.com and it just pointed me back to the
Freebsd/java page where the binary package was.

I noticed on the webpage for the port description of the jdk, it says

You may want to build a kernel with
options         SYSVSEM

would I need to do this?

--
=======================================================================
|  Jason Welsh   jason@welsh.dynip.com   |   If you think there's     |
|                                        |   good in everybody, you   |
|      http://welsh.dynip.com/           |   haven't met everybody.   |
=======================================================================


On Sun, 11 Jul 1999, Nate Williams wrote:

> > I dont have kaffe or jikes or anything else like that installed.. this is
> > pretty much a bare bones install (small hard drive).. and I dont have
> >  LD_LIBRARY_PATH set to anything..
> 
> Boy, I haven't a clue what's going on. It *should* work, but w/out being
> able to reproduce this, I haven't got a clue.
> 
> Can you try running it under KTRACE?
> 
> 
> Nate
> 

[-- Attachment #2 --]
f+ktrace@ž7X	L?-f+ktrace@ž7$f	Pe:(ֿ?f+ktrace@ž7)h	/etc/malloc.conff+ktrace@ž7j	L?:$f+ktrace@ž7m	^nf+ktrace@ž7Up	L? (f+ktrace@ž7t	Pef+ktrace@ž77w	L?f+ktrace@ž7z	Pef+ktrace@ž7H}	L?f+ktrace@ž7	Pe;׿ܿܿf+ktrace@ž7b	/sbin/javacf+ktrace@ž7	L?;f+ktrace@ž7	Pe;׿ܿܿf+ktrace@ž7	/usr/sbin/javacf+ktrace@ž7Ӑ	L?;f+ktrace@ž7.	Pe;׿ܿܿ
f+ktrace@ž7k	/bin/javacf+ktrace@ž7L	L?;f+ktrace@ž7g	Pe;׿ܿܿf+ktrace@ž7	/usr/bin/javacf+ktrace@ž7	L?;f+ktrace@ž7	Pe;׿ܿܿf+ktrace@ž7	/usr/local/sbin/javacf+ktrace@ž7%	L?;f+ktrace@ž7o	Pe;׿ܿܿf+ktrace@ž7	/usr/local/bin/javacf+ktrace@ž7	L?;f+ktrace@ž7D	Pe;׿ܿܿf+ktrace@ž7	/usr/local/jdk1.1.8/bin/javacf+ktrace@ž7Y	/bin/sh+shace|7'	L?;+shace|7B	Pe+shace|73	L?++shace|7	Pe+shace|7	L?+shace|7:
Pe:	ۿ?+shace|7>
/etc/malloc.conf+shace|7
L?:$+shace|7
^n+shace|7+

L? 	(+shace|7.
Pe
+shace|7
L?+shace|7?
Pe
+shace|7
L?+shace|7
Pe	ۿ+shace|7
/var/mail/root+shace|7!
L?¼+shace|7%
Pe+shace|7\'
L?+shace|7(
Pe+shace|7*
L?+shace|7,
Pe/+shace|7&.
L?/+shace|7/3
Pe++shace|75
L?++shace|76
Pedݿ+shace78
/usr/local/jdk1.1.8/bin/javac+shace7>
L?+shace7@
Pe\
+shace7B
L?\
+shace7JD
Pe+shace7F
L?+shace7H
Pe\
+shace7J
L?\+shace7L
Pe.ۿ+shace7N
L?.-+shace7P
Pe.ۿۿ+shace7jR
L?.-+shace76T
Pe.ۿ+shace7V
L?.-+shace7W
Pe.ۿ+shace7Z`
L?.-+shace7\b
Pe.ۿ+shace7Id
L?.-+shace7(f
Pe.ۿۿ+shace7h
L?.-+shace7j
Pe.ۿ+shace7ll
L?.-+shace7o
Pe.ۿ+shace7q
L?.-+shace7s
Pe.ۿ+shace7t
L?.-+shace7v
Pe.ۿۿ+shace7x
L?.-+shace7b~
Pe.ٿٿ+shace7
L?.-+shace7|
PeF$ۿ+shace7
L?F+shace7dž
Pe.ٿ+shace7ގ
L?.-+shace7ߕ
Pe
	+shace7i
g
#!/bin/sh
#
#     @(#)java_wrapper.sh	1.35 98/12/23
#
#===================================================================
# THIS SCRIPT AND JAVA WILL NOT RUN UNDER SUNOS4.X, AKA SOLARIS 1.X.  
#===================================================================

# Set up default variable values if not supplied by the user.

#PRG=`whence $0` >/dev/null 2>&1
DIR=`dirname $0`
progname=`basename $0`
PRG=`cd $DIR; pwd `/$progname
J_HOME=`cd $DIR/..; pwd`

# The default THREADS_TYPE is "green_threads".  To change the default change
# the setting of the DEFAULT_THREADS_FLAG variable.  The only valid values 
# of that variable are 'green' and 'native'. 
# 
# This introduces a dependency of this wrapper on the policy used to do builds.
# e.g. the usage of the name "green_threads" here is dependent on the build
# scripts which use the same name. Since this is somewhat analogous to the
# wrapper already depending on the build scripts putting the executable in
# a specific place (JAVA_HOME/bin/`uname -m`), the new depe+shace7
L?+shace7
Pe 
+shace7r
L?+shace7
Pe	ؿ
+shace7C
/sbin/dirname+shace7
L?¼+shace7
Pe	ؿ+shace7
/usr/sbin/dirname+shace7
L?¼+shace7
Pe	ؿ+shace7 
/bin/dirname+shace7
L?¼+shace7
Pe	ؿ+shace7
/usr/bin/dirname+shace7
L?¼+shace7
Pe*n+shace7"
L?*n+shace7
Pen+shace7T
L?+n+shace7M
Pen+shace7k
L?n+shace70
Pepڿ n+shace7s/usr/local/jdk1.1.8/bin
n+shace7L?n+shace7Pepڿn+shace7>Pen+shace7WL?n+shace7Pen+shace7L?n+shace7PeQn+shace7L?Q	+n+shace7[sڿn+shace7L?+n+shace7Pe0
n+shace7yL?n+shace70Pe	ؿn+shace7?/sbin/basenamen+shace7L?¼n+shace7Pe	ؿn+shace7/usr/sbin/basenamen+shace7L?¼n+shace7Pe	ؿ
n+shace7/bin/basenamen+shace7L?¼n+shace7Pe	ؿn+shace7/usr/bin/basenamen+shace7L?¼n+shace7Pe*n+shace7L?*n+shace7!Pen+shace7],L?+n+shace7'<Pen+shace7">L?n+shace7DPepڿn+shace7
Pejavac
n+shace7
L?n+shace7
Pepڿn+shace7<
Pen+shace7.
L?n+shace7
Pen+shace7
L?n+shace7
PeQn+shace7q!
L?Q	+n+shace7#
sڿn+shace7&
L?+n+shace79
Pe*n+shace7<
L?*n+shace7=
Pen+shace7gI
L?+n+shace7V
Pen+shace7Z
L?n+shace7`
Pepڿ n+shace7
s/usr/local/jdk1.1.8/bin
n+shace7
L?n+shace7y
Pepڿn+shace7
Pen+shace7
L?n+shace7
Pen+shace7
L?n+shace7
PeQn+shace7
L?Q	+n+shace7,
sڿn+shace7;
L?+n+shace7
Pe*n+shace7
L?*n+shace7
Pen+shace72
L?+n+shace7
Pen+shace7v
L?n+shace78Pepڿn+shace7MKs/usr/local/jdk1.1.8
n+shace7YML?n+shace7BOPepڿn+shace78^Pen+shace7:`L?n+shace7	bPen+shace7eL?n+shace7gPeQn+shace7iL?Q	+n+shace7Fksڿn+shace7}nL?+n+shace7Pe
	n+shace7g
ndency does not
# seem all that bad.

DEFAULT_THREADS_FLAG=green

if [ ${THREADS_FLAG:-${DEFAULT_THREADS_FLAG}} = native ] ; then 
    THREADS_TYPE=native_threads
else
    THREADS_TYPE=green_threads
fi
export THREADS_TYPE
#echo "Using executables built for $THREADS_TYPE"

#
# If -native or -green is the first argument, override threads type
# based on that. Also, remove it from $@, because this is an argument
# _only_ to this wrapper. This is an alternative to setting
# THREADS_FLAG on Solaris.
#
if [ X"$1" = X"-native" -o X"$1" = X"-green" ]; then
    if [ X"$1" = X"-native" ]; then
      THREADS_TYPE=native_threads
    else
      THREADS_TYPE=green_threads
    fi
    shift 1
fi

if [ -z "$JAVA_HOME" ] ; then
    export JAVA_HOME
    JAVA_HOME=$J_HOME
fi

#
# For some programs like appletviewer, it is important that "." not be
# in the classpath by default (unless the user set the CLASSPATH
# explicitly). Applications that fit in this list are ones that load
# classes through a ClassLoader, where classes con+shace7L?n+shace7&Pe@
n+shace7L?n+shace7Pe	ڿn+shace7Ţ/sbin/[n+shace7L?¼n+shace7Pe	ڿn+shace7/usr/sbin/[n+shace7
L?¼n+shace7Pe	ڿn+shace7/bin/[n+shace7L?¼n+shace7Pen+shace77L?+n+shace7PeQn+shace7XL?Q	+n+shace7	sۿ+shace|7L?++shace|7h1PeP
+shace|73L?+shace|79Pe+shace|7L?++shace|7QPeQ+shace|7SL?Q	++shace|7Wsۿ+shace|7N[L?++shace|7lPe+shace|7)yL?++shace|7PPeQ+shace|7eL?Q	++shace|7sۿ+shace|7L?++shace|7mPe
	+shace|7g
ming off . will end
# up being system classes. For now we know of only appletviewer.
#
NO_DOT_LIST="appletviewer"
DEFAULT_CLASSPATH="."
for excluded in ${NO_DOT_LIST}; do
    if [ ${excluded} = ${progname} ]; then
        DEFAULT_CLASSPATH="";
    fi
done

CLASSPATH="${CLASSPATH:-${DEFAULT_CLASSPATH}}"
if [ -z "${CLASSPATH}" ] ; then
    CLASSPATH="$JAVA_HOME/classes:$JAVA_HOME/lib/classes.jar:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar:$JAVA_HOME/lib/classes.zip"
else
    CLASSPATH="$CLASSPATH:$JAVA_HOME/classes:$JAVA_HOME/lib/classes.jar:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar:$JAVA_HOME/lib/classes.zip"
fi

export CLASSPATH

proc=`/usr/bin/uname -m`
LD_LIBRARY_PATH="$JAVA_HOME/lib/$proc/$THREADS_TYPE:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

XFILESEARCHPATH="$JAVA_HOME/lib/locale/%L/%T/%N%S:$XFILESEARCHPATH"
export XFILESEARCHPATH

# By default, the real program is the same as the called program
execname=${progname}

# If an 'X' version exists and DISPLAY is set, then use the X version.
if [ -x $J+shace|7ML?+shace|7DPe+shace|7L?++shace|7PeQ+shace|7L?Q	++shace|7sڿ+shace|7_L?++shace|7
Pe+shace|7L?++shace|7PeQ+shace|7L?Q	++shace|7sۿ+shace|7uL?++shace|7Pe*n+shace7
L?*n+shace7Pen+shace7;L?+n+shace7%Pen+shace7'L?n+shace7-Pepڿ
n+shace7Pei386
n+shace7L?n+shace7^Pepڿn+shace7Pen+shace7L?n+shace7Pen+shace7
L?n+shace7jPeQn+shace7L?Q	+n+shace7sڿn+shace7L?+n+shace7c7Pe
	5n+shace7:s
AVA_HOME/bin/$proc/${THREADS_TYPE}/${progname}_X \
     -a "X${DISPLAY}" != "X" ]
then
   execname=${progname}_X
fi

prog=$JAVA_HOME/bin/$proc/${THREADS_TYPE}/${execname}

if [ -f $prog ]
then
     exec $DEBUG_PROG $prog $opts "$@"
else
    echo >&2 "$progname was not found in ${prog}"
    exit 1
fi
n+shace7<L?-n+shace7DLPen+shace7gXL?,n+shace7MePeQn+shace77gL?Q	+n+shace7qmsۿ+shace|7L?,+shace|7uPe+shace|7L?,+shace|7PeQ+shace|7L?Q	++shace|7sۿ+shace|7.6L?,+shace|7FPe;0
L0
T0
0+shace|7mI/usr/local/jdk1.1.8/bin/i386/green_threads/javac+shace|7Q/bin/shn+shace*
7nL?;n+shace*
7|Pen+shace*
7~L?+n+shace*
7Pen+shace*
7L?n+shace*
7΄Pe:	ڿ?n+shace*
7ʆ/etc/malloc.confn+shace*
7\L?:$n+shace*
7^nn+shace*
7L? 	(n+shace*
7FPe
n+shace*
7ҖL?n+shace*
7Pe
n+shace*
7~L?n+shace*
7Pe	ڿn+shace*
7	/var/mail/rootn+shace*
7L?¼n+shace*
7gPen+shace*
7L?n+shace*
7iPen+shace*
7L?n+shace*
7Pe/n+shace*
7kL?/n+shace*
7Pe+n+shace*
7L?+n+shace*
7Peۿ0+shace7/usr/local/jdk1.1.8/bin/i386/green_threads/javac+shace7L?+shace7lPe\
+shace7L?\
+shace7VPe+shace7L?+shace7[Pe\
+shace70L?\+shace7Pe.Dڿ+shace7L?.-+shace7Pe.Dڿ8ڿ+shace7L?.-+shace7Pe.Dڿ+shace7L?.-+shace7rPe.Dڿ+shace7\L?.-+shace79Pe.@ڿ+shace7L?.-+shace7Pe.@ڿ4ڿ+shace7L?.-+shace7Pe.@ڿ+shace7qL?.-+shace7XPe.@ڿ+shace7AL?.-+shace7"Pe.<ڿ+shace7	L?.-+shace7Pe.<ڿ0ڿ+shace7L?.-+shace7tPe.`ؿTؿ+shace7L?.-+shace7PeFٿ+shace7	L?F+shace7Pe.Tؿ+shace7
L?.-+shace7Pe
	+shace7l
#!/bin/sh

#
# source a script that extracts RUNTIME_ARGS and APP_ARGS
#
. `dirname $0`/.extract_args

#
# Run the compiler
#
`dirname $0`/java $RUNTIME_ARGS -ms8m $RUNTIME_ARGS sun.tools.javac.Main $APP_ARGS
+shace75L?+shace7"Pe 
+shace7$L?+shace7-Pe	d׿
+shace7//sbin/dirname+shace7|2L?¼+shace74Pe	d׿+shace76/usr/sbin/dirname+shace7:L?¼+shace7:<Pe	d׿+shace7?/bin/dirname+shace7AL?¼+shace7DPe	d׿+shace7
F/usr/bin/dirname+shace7KL?¼+shace75NPe*n+shace7PL?*n+shace7zRPen+shace7^L?,n+shace7nPen+shace74pL?n+shace7uPeؿ3n+shace7<@m/usr/local/jdk1.1.8/bin/i386/green_threads
+shacebin/7?L?++shacebin/7BAPeؿn+shace7QPen+shace7SL?n+shace7UPen+shace7XL?n+shace7.[PeQn+shace7]L?Q	+n+shace7^sؿn+shace7egL?,n+shace7pPe		8n+shace7{r/usr/local/jdk1.1.8/bin/i386/green_threads/.extract_argsn+shace7yL?n+shace7{Pe\
n+shace7\}L?\n+shace7Pen+shace7L?n+shace7jPe\n+shace7L?\n+shace7Pe0
n+shace7L?n+shace7Pe@
n+shace7L?n+shace7Pe0
n+shace7*s#!/bin/sh

#
# This script extract -J-xxx args which are args to the runtime from
# the actual arguments to the tool. 
#
# It places the results in the variables RUNTIME_ARGS and
# APP_ARGS. Target scripts should *source* this extraction script.
#

RUNTIME_ARGS=""
APP_ARGS=""
for a in "$@"
do
    if ja=`expr "$a" : '-J\(..*\)'`
    then 
	  RUNTIME_ARGS="$RUNTIME_ARGS $ja"
    else 
	APP_ARGS="$APP_ARGS $a"
    fi
done
n+shace7L?n+shace7PeP
n+shace7dL?n+shace7tPe0
n+shace7Pen+shace7L?n+shace7tPen+shace7L?n+shace7Pe*+shacebin/7L?*+shacebin/7Pe+shacebin/7L?,+shacebin/7Pe+shacebin/7L?+shacebin/7Peؿ3n+shace7un/usr/local/jdk1.1.8/bin/i386/green_threads
+shacebin/7L?++shacebin/7TPeؿn+shace7Pen+shace7L?n+shace7n	Pen+shace7kL?n+shace76PeQn+shace7L?Q	+n+shace7sؿn+shace7L?,n+shace75Pen+shace7	L?,n+shace7	PeQn+shace7	L?Q	+n+shace7
	sٿg+shace7h_	L?,g+shace7x	Pe

g+shace7|	sAbort trapg+shace7	L?
g+shace7	Pe
	g+shace7Ċ	Pe
g+shace7֑	L?g+shace7	Pe
	g+shace7	Pe
g+shace7Θ	L?g+shace7	Pe
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907111440250.11037-101000>