From owner-freebsd-questions@FreeBSD.ORG Mon May 12 15:49:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 689C71065673 for ; Mon, 12 May 2008 15:49:01 +0000 (UTC) (envelope-from angrywolf@flashmail.com) Received: from mail02d.mail.t-online.hu (mail02d.mail.t-online.hu [84.2.42.7]) by mx1.freebsd.org (Postfix) with ESMTP id 22EB68FC0C for ; Mon, 12 May 2008 15:49:01 +0000 (UTC) (envelope-from angrywolf@flashmail.com) Received: from 555555.no-ip.org (catv54032777.pool.t-online.hu [84.3.39.119]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail02d.mail.t-online.hu (Postfix) with ESMTPSA id 5EB4A50A05 for ; Mon, 12 May 2008 17:48:58 +0200 (CEST) Received: from gep7.555555.no-ip.org (unknown [172.16.0.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by 555555.no-ip.org (Postfix) with ESMTP id CCC3711448 for ; Mon, 12 May 2008 17:48:58 +0200 (CEST) From: AngryWolf To: freebsd-questions@freebsd.org Date: Mon, 12 May 2008 17:48:51 +0200 User-Agent: KMail/1.9.7 References: <17179367.post@talk.nabble.com> In-Reply-To: <17179367.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805121748.51856.angrywolf@flashmail.com> Subject: Re: netbeans 6.0.1 not run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 15:49:01 -0000 Hi, Setting up JAVA_HOME correctly, helped for me: $ echo $JAVA_HOME /usr/local/jdk1.6.0 Nothing else was needed. -- AngryWolf angrywolf@flashmail.com On Monday 12 May 2008 01.34.10 cuongvt wrote: > Hi all! > > full explanation: > FreeBSD 7.0-RELEASE (i386) > uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) > > installed: > jdk-1.6.0.3p4_1 > diablo-jdk-1.5.0.07.01_10 > javavmwrapper-2.3.2 > > I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. > java -version: > java 16 jdku3p1 etc etc > > Then I insralled netbeans from ports, firstly it warned: > JAVA_HOME should not be defined. > > So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and > reinstalled netbeans. > Installation went fine. > > When I try run netbeans: > mak@lo0:~>netbeans > XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > > Any ideas? > P/S:All pkgs were installed via ports*