From owner-freebsd-java@FreeBSD.ORG Mon Jun 30 08:19:27 2003 Return-Path: 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 CAD3C37B401 for ; Mon, 30 Jun 2003 08:19:27 -0700 (PDT) Received: from hotmail.com (law15-f31.law15.hotmail.com [64.4.23.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F12D43F75 for ; Mon, 30 Jun 2003 08:19:27 -0700 (PDT) (envelope-from zoo9000@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 30 Jun 2003 08:19:27 -0700 Received: from 195.172.219.66 by lw15fd.law15.hotmail.msn.com with HTTP; Mon, 30 Jun 2003 15:19:26 GMT X-Originating-IP: [195.172.219.66] X-Originating-Email: [zoo9000@hotmail.com] From: "Ken Williams" To: freebsd-java@freebsd.org Date: Mon, 30 Jun 2003 15:19:26 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Jun 2003 15:19:27.0283 (UTC) FILETIME=[FEC99830:01C33F1A] Subject: current locale is not supported in X11, locale is set to CX X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 15:19:28 -0000 Hi, A bit of a newbie question I guess but I couldn't find anything related in the mail achives. I've just installed the /usr/ports/java/linux-sun-jdk14 port which seemed to go smoothly but when I try to run a simple Java program I get this error message (below). root@tokyo:~/StadiumDesigner# java -jar StadiumDesigner.jar current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultException in thread "main" java.lang.NullPointe rException at javax.swing.ImageIcon.(ImageIcon.java:138) at StadiumDesigner.createImageIcon(StadiumDesigner.java:268) at StadiumDesigner.addToggleButtons(StadiumDesigner.java:353) at StadiumDesigner.init(StadiumDesigner.java:123) at StadiumDesigner.main(StadiumDesigner.java:164) root@tokyo:~/StadiumDesigner# Everything else seems to work fine with X and I'm not sure how (or what) to fix. Any help is appreciated. TIA Ken _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger