|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
netbeans 6.0.1 not run
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* |
|
|||
Quote:
Quote:
Quote:
|
|
|||
For the plugin problem:
I had the same problem but got sorted out on the mailing lists. The plugin that is crashing firefox is that of diablo (because of some shared libraries issues) and so you want to use the plugin supplied by jdk16. To fix this, deinstall diablo, as it is only a build dependency for jdk16. Link the plugin supplied by jdk16 with this: # ln -s /usr/local/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/local/lib/browser_plugins/ Restart firefox and it should work. I don't have JAVA_HOME variable set and with "java -version" I get: java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_13_may_2008_10_06-b00) Java HotSpot(TM) Server VM (build 1.6.0_03-p4-root_13_may_2008_10_06-b00, mixed mode) |
|
|||
Thank you wrightjj!
|
|
|||
Hello all,
Just to let you know that I had the same problems w/ FreeBSD 7.0 and netbeans 6.1. First I upgraded the whole system portupgrade -aP, then portinstall netbeans and make install clean from java/jdk16. no joy. I noticed that netbeans-6.1 depends on diablo-jdk-1.5 so, i forced deinstalled diablo-jdk and voila! Netbeans works although it complains about profiler and soloaris. It seems to me that even if jdk16 is installed netbeans port wants to install diablo-jdk. Thanks |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Netbeans running application problem. | bsdnewbie999 | Programming | 7 | 2nd November 2015 10:44 PM |
Java SE and Netbeans on OpenBSD? | SunSpyda | OpenBSD Packages and Ports | 7 | 17th May 2009 09:45 PM |
[java] netbeans 6.0.1 and applets not work | Mak-Di | FreeBSD General | 1 | 12th May 2008 06:04 PM |