Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 1999 17:43:35 +0000
From:      Ben Laurie <ben@algroup.co.uk>
To:        Nate Williams <nate@mt.sri.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: jdb won't run?
Message-ID:  <3863B0C7.7176C359@algroup.co.uk>
References:  <386354AB.BA0276E2@algroup.co.uk> <199912241557.IAA02371@mt.sri.com> <3863AC9A.566395E2@algroup.co.uk> <199912241730.KAA02652@mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams wrote:
> I'm going to need some way of repeating this.  However, my initial
> impression is that something in the environment is messed up.  Are you
> setting LD_LIBRARY_PATH or anything?  What happens when you use a clean
> environment (no CLASSPATH, LD_LIBRARY_PATH, etc..), and instead
> hard-code the classpath setting and use java/java_g?

Here's output with a trimmed down env (output of env followed by jdb):

ben@heap:~/work2/cryptix-projects/tls/src$ ./t1
crt=24
USER=ben
HOSTNAME=heap.ben.algroup.co.uk
HOME=/home/ben
PAGER=more
PS1=\u@\h:\w\$ 
LOGNAME=ben
_=./t1
TERM=xterm
BLOCKSIZE=K
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.1.8/bin:/home/ben/bin
PWD=/home/ben/work2/cryptix-projects/tls/src
Class missing for error: java/lang/InternalError at
java.lang.System.initializeSystemClass(System.java)
Initializing jdb...
Internal exception:  java.io.IOException:
/usr/local/jdk1.1.8/bin/java_g: cannot execute
 at java.lang.Runtime.exec(Runtime.java)
 at java.lang.Runtime.exec(Runtime.java)
 at sun.tools.debug.RemoteAgent.<init>(RemoteAgent.java:131)
 at sun.tools.debug.RemoteDebugger.<init>(RemoteDebugger.java:62)
 at sun.tools.ttydebug.TTY.<init>(TTY.java:1448)
 at sun.tools.ttydebug.TTY.main(TTY.java:1621)

Cheers,

Ben.

--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm

http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi


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?3863B0C7.7176C359>