From owner-freebsd-java Tue Jan 28 0:22:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07B9837B69F for ; Tue, 28 Jan 2003 00:22:41 -0800 (PST) Received: from mail.tinkerbox.org (adsl-64-168-139-138.dsl.snfc21.pacbell.net [64.168.139.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A38443FA3 for ; Tue, 28 Jan 2003 00:22:35 -0800 (PST) (envelope-from bruno@tinkerbox.org) Received: from duron.bschwand.net (duron.bschwand.net [192.168.137.4]) by mail.tinkerbox.org (Postfix) with ESMTP id 39AE019AD; Tue, 28 Jan 2003 00:36:49 -0800 (PST) Date: Tue, 28 Jan 2003 00:36:46 -0800 (PST) From: bruno schwander X-Sender: bruno@duron.bschwand.net To: Andreas Kohn Cc: java@freebsd.org Subject: SOLVED ! Re: problem debugging java app In-Reply-To: <1043739880.10968.58.camel@klamath.ankon.homeip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thank you Andrea, removing the unavailable fonts from the font.properties files did the trick ! bruno On 28 Jan 2003, Andreas Kohn wrote: > Am Tue, 2003-01-28 um 05.32 schrieb bruno schwander: > > I would like to debug a java app, but when I run my app in jdb I get the > > following exception: > > > > Exception occurred: sun.io.MalformedInputException > > (uncaught) thread="main", sun.io.CharToByteSingleByte.convert(), line=154, > > bci=202 > > > > This is a class that is part of the distribution apparently, so how can > > this be happening ? > > > > I have no CLASSPATH set, is there a special runtime to use for debugging ? > > > > any help appreciated... > > > > Thank you > > > > bruno > > > > > Hello, > > If you start java without the debugger, do you see a lot of warning > messages regarding some fonts he could not load? > > In that case, you have to edit your font.properties file > (/ust/local/jdk.../jre/lib/font.properties), and remove/edit all the > fonts your Java VM normally complains about. > > I had the same problem, and commenting out all lines that referred to > the "--symbolic-medium-r-..." font did the trick. > > Hope this helps, > -- > Andreas Kohn > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message