From owner-freebsd-java@FreeBSD.ORG Mon Sep 25 15:09:51 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 CC22C16A417; Mon, 25 Sep 2006 15:09:51 +0000 (UTC) (envelope-from zouk@tiscali.nl) Received: from mrqout2.tiscali.it (mrqout2.tiscali.it [195.130.225.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1539443D6D; Mon, 25 Sep 2006 15:09:41 +0000 (GMT) (envelope-from zouk@tiscali.nl) Received: from 10.39.115.132 by mrq-2 with esmtp (Exim) id 1GRs5T-0003TJ-GZ; Mon, 25 Sep 2006 17:09:40 +0200 Received: from ps4 (10.39.75.74) by mail-2-nl.tiscali.it (7.3.118) (authenticated as zouk@tiscali.nl) id 4513AEF100002AC6; Mon, 25 Sep 2006 17:09:37 +0200 Message-ID: <10349646.1159196977400.JavaMail.root@ps4> Date: Mon, 25 Sep 2006 17:09:37 +0200 (CEST) From: "zouk@tiscali.nl" To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit xOriginalSenderIP: 167.202.196.71 Cc: Subject: weka on freebsd amd64 system because of java problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "zouk@tiscali.nl" List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 15:09:52 -0000 Hi folks I've installed weka on my freebsd system (AMD64) and I can use it from the command line but the gui keeps crashing if I click on explorer I get the following error: java -Xmx2000M -jar weka.jar /usr/X11R6/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Engine "clearlooks" is unsu pported, ignoring ---Registering Weka Editors--- Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException weka.gui.explorer.PreprocessPanel.addPropertyChangeListener(Unknown Sour ce) javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI.java: 4 9) javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:38) javax.swing.JComponent.setUI(JComponent.java:652) javax.swing.JPanel.setUI(JPanel.java:131) javax.swing.JPanel.updateUI(JPanel.java:104) javax.swing.JPanel.(JPanel.java:64) javax.swing.JPanel.(JPanel.java:87) javax.swing.JPanel.(JPanel.java:95) weka.gui.explorer.PreprocessPanel.(Unknown Source) weka.gui.explorer.Explorer.(Unknown Source) weka.gui.GUIChooser$2.actionPerformed(Unknown Source) java.awt.Button.processActionEvent(Button.java:388) java.awt.Button.processEvent(Button.java:356) java.awt.Component.dispatchEventImpl(Component.java:3955) java.awt.Component.dispatchEvent(Component.java:3803) java.awt.EventQueue.dispatchEvent(EventQueue.java:463) java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThrea d.java:242) java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread. java:163) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) java.awt.EventDispatchThread.run(EventDispatchThread.java:110) at weka.gui.explorer.PreprocessPanel.addPropertyChangeListener(Unknown S ource) at javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI. jav a:49) at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:38) at javax.swing.JComponent.setUI(JComponent.java:652) at javax.swing.JPanel.setUI(JPanel.java:131) at javax.swing.JPanel.updateUI(JPanel.java:104) at javax.swing.JPanel.(JPanel.java:64) at javax.swing.JPanel.(JPanel.java:87) at javax.swing.JPanel.(JPanel.java:95) at weka.gui.explorer.PreprocessPanel.(Unknown Source) at weka.gui.explorer.Explorer.(Unknown Source) at weka.gui.GUIChooser$2.actionPerformed(Unknown Source) at java.awt.Button.processActionEvent(Button.java:388) at java.awt.Button.processEvent(Button.java:356) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchTh read.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThre ad.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) What could be wrong here? I'm using weka 3.5.3. I've installed the java port which gives me the diablo-jdk but I'm not sure that's the correct version. If I can recall some time ago, the freebsd foundation had made an agreement with Sun. I thought that I had to follow the instructions on the freebsd.org/java page but in the end I had this diablo-jdk version installed. Also I've notice that I cannot have all the functionality that eclipse provides on other platforms but I heard that it was because IBM doesn't acknowledge FreeBSD as a platform. But maybe I should mail that in another post because it's a seperate problem I have which causes me to have to turn to ubuntu because of that:-( Brgds and thanks in advanced, Robert Gilaard