Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 17:48:51 +0200
From:      AngryWolf <angrywolf@flashmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: netbeans 6.0.1 not run
Message-ID:  <200805121748.51856.angrywolf@flashmail.com>
In-Reply-To: <17179367.post@talk.nabble.com>
References:  <17179367.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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*




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805121748.51856.angrywolf>