From owner-freebsd-java Fri Dec 24 9:43:45 1999 Delivered-To: freebsd-java@freebsd.org Received: from eastwood.aldigital.algroup.co.uk (eastwood.aldigital.algroup.co.uk [194.128.162.193]) by hub.freebsd.org (Postfix) with ESMTP id F204414F14 for ; Fri, 24 Dec 1999 09:43:37 -0800 (PST) (envelope-from ben@algroup.co.uk) Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.8.8/8.6.12) with ESMTP id RAA26894; Fri, 24 Dec 1999 17:43:35 GMT Received: from algroup.co.uk (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id RAA14811; Fri, 24 Dec 1999 17:43:54 GMT Message-ID: <3863B0C7.7176C359@algroup.co.uk> Date: Fri, 24 Dec 1999 17:43:35 +0000 From: Ben Laurie Organization: A.L. Group plc X-Mailer: Mozilla 4.7 [en] (WinNT; I) MIME-Version: 1.0 To: Nate Williams Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdb won't run? References: <386354AB.BA0276E2@algroup.co.uk> <199912241557.IAA02371@mt.sri.com> <3863AC9A.566395E2@algroup.co.uk> <199912241730.KAA02652@mt.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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.(RemoteAgent.java:131) at sun.tools.debug.RemoteDebugger.(RemoteDebugger.java:62) at sun.tools.ttydebug.TTY.(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