From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 08:48:52 2009 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 CC8E51065670 for ; Fri, 9 Oct 2009 08:48:52 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC7C8FC0C for ; Fri, 9 Oct 2009 08:48:52 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MwB9f-0003qq-S3 for freebsd-questions@freebsd.org; Fri, 09 Oct 2009 01:48:51 -0700 Message-ID: <25817655.post@talk.nabble.com> Date: Fri, 9 Oct 2009 01:48:51 -0700 (PDT) From: BigDes To: freebsd-questions@freebsd.org In-Reply-To: <17179367.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: desphilboy@yahoo.com References: <17179367.post@talk.nabble.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: Fri, 09 Oct 2009 08:48:52 -0000 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* > you shall change your java interpreter package. Install jdk1.6 from /usr/ports/java/jdk16, by going to this directory and typing "make install". I tried jdk1.6.0 and replaced it instead of diablo-1.5.0. In order to do this you shall try to change javahome directory in netbeans.conf you may find this file in /usr/local/netbeans/etc then: #vi netbeans.conf you may see something like this javahome= /usr/local/diablo-1.5.0 chang that into: javahome=/usr/local/jdk1.6.0 then it will work -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p25817655.html Sent from the freebsd-questions mailing list archive at Nabble.com.