Cannot install netbeans IDE
Knute Johnson
knute at frazmtn.com
Wed Nov 7 17:35:33 UTC 2007
>I'm having a problem trying to install netbeans 5.5 on my
>laptop running F8t3.
>
>Here is the error message:
>
>
> Initializing InstallShield Wizard........
> Launching InstallShield Wizard........
>
>./netbeans-5_5-linux.bin: line 1742: 3114 Aborted
>"/usr/java/jdk1.6.0//bin/java" -cp
>.:::::"/tmp/istemp2049311131112/setup.jar"::::: -Dtemp.dir="/tmp"
>-Dis.jvm.home="/usr/java/jdk1.6.0/" -Dis.jvm.temp="0"
>-Dis.media.home="/tmp/istemp2049311131112/setup.jar"
>-Dis.launcher.file="/downloads/netbeans/5.5/./netbeans-5_5-linux.bin"
>-Dis.jvm.file="/tmp/istemp2049311131112/jdk16unix_sun.jvm"
>-Dis.external.home="/downloads/netbeans/5.5/." run >> /dev/null 2>>
>/tmp/istemp2049311131112/APP_STDERR
>
>java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
>
>[root at fedora-laptop 5.5]#
>
>Any ideas what is happening please?
>
>I did install the above netbeans 5.5 package on FC6, without
>any problems.
>
>Kind Regards
>
>Keith Roberts
Keith:
There is some conflict between Xinerama and Sun's Java. You can fix
the problem with the following:
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/java/jdk1.6.0_03/jre/lib/i386/xawt/libmawt.so
Above should be on one line and adjust the path to your JDK
installation. I don't know what else will be messed up by doing this
but if you need more info, search around for the error message in
Bugzilla.
It took me a while to get the JDK to work and the Java plugin to
work. I posted the steps the other day but in case anybody else
reads this post and is having trouble, here are the steps I used to
get Sun's Java up on F8rc3.
How to get Sun's Java running on F8rc3
As root -
1) Download the Sun Java Linux RPM from java.sun.com and install it.
2) Fix the Xinerama bug with
sed -i 's/XINERAMA/FAKEEXTN/g'
/usr/java/jdk1.6.0_03//jre/lib/i386/xawt/libmawt.so
Save a copy if you want to restore it to original.
3) Put the link to
/usr/java/jdk1.6.0_03/jre/plugin/i386/ns7libjavaplugin_oji.so into
/usr/lib/mozilla/plugins
4) Install compat-libstdc++-33
5) Remove nspluginwrapper
Now you should be able to compile and run Java applications, run Java
Applets in Firefox and load and run Java Web Start programs.
--
Knute Johnson
Molon Labe...
More information about the test
mailing list