Re: Question: Install netbeans 8.0.2 on Ubuntu

William Shackleford <[email protected]> Sat, 2 Jan 2016 15:41:05 -0500
Newsgroups gmane.comp.java.netbeans.general
Message-ID <CANyC1Xw5wFaG1H_eA8vTKPA+6_6Sw64znPo4rARCuMK+Qs0HEw@mail.gmail.com>
--047d7b3a805421966705285fe88f
Content-Type: text/plain; charset=UTF-8

My guess is that there is something wrong with the Ubuntu packaging of the
JDK. It is not clear whether you have the JDK or just the JRE.

I would install/reinstall the JDK directly from

http://www.oracle.com/technetwork/java/javase/downloads/index.html

and then try the netbeans install again.






On Sat, Jan 2, 2016 at 12:47 PM, Thouraya TH <[email protected]> wrote:

> Hi all,
>
> Please have you an idea about these errors ?
> https://netbeans.org/downloads/8.0.2/  (version: All)
>
>
> root@0b6da194134f:/home# ./netbeans-8.0.2-linux.sh
> Configuring the installer...
> Searching for JVM on the system...
> Extracting installation data...
> Running the installer wizard...
> An error occured while initializing the NetBeans IDE installer UI.
> Most probably the running JVM is not compatible with the current platform.
> See FAQ at http://wiki.netbeans.org/FaqUnableToPrepareBundledJdk for more
> information.
> /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so: libXtst.so.6:
> cannot open shared object file: No such file or directory
>
> Exception:
>   java.lang.UnsatisfiedLinkError:
>   /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so: libXtst.so.6:
> cannot open shared object file: No such file or directory
>
> You can get more details about the issue in the installer log file:
>  /root/.nbi/log/20160102173840.log
>
>
> root@0b6da194134f:/home# java -version
> java version "1.8.0_66"
> Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
>
> root@0b6da194134f:/home# uname -m
> x86_64
> root@0b6da194134f:/home# uname -a
> Linux 0b6da194134f 3.11.0-26-generic #45~precise1-Ubuntu SMP Tue Jul 15
> 04:02:35 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> root@0b6da194134f:/home#
>
>
> Thank you so much for help.
> Kind regards.
>
>

--047d7b3a805421966705285fe88f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>My guess is that there is something wrong with the Ub=
untu packaging of the JDK. It is not clear whether you have the JDK or just=
 the JRE.<br><br>I would install/reinstall the JDK directly from <br><br><a=
 href=3D"http://www.oracle.com/technetwork/java/javase/downloads/index.html=
">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a><br=
><br></div>and then try the netbeans install again.<br><br><br><br><div><br=
><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Sat, Jan 2, 2016 at 12:47 PM, Thouraya TH <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>=
<div>Hi all,<br><br>Please have you an idea about these errors ?<br><a href=
=3D"https://netbeans.org/downloads/8.0.2/" target=3D"_blank">https://netbea=
ns.org/downloads/8.0.2/</a>=C2=A0 (version: All)<br><br><br>root@0b6da19413=
4f:/home# ./<a href=3D"http://netbeans-8.0.2-linux.sh" target=3D"_blank">ne=
tbeans-8.0.2-linux.sh</a> <br>Configuring the installer...<br>Searching for=
 JVM on the system...<br>Extracting installation data...<br>Running the ins=
taller wizard...<br>An error occured while initializing the NetBeans IDE in=
staller UI.<br>Most probably the running JVM is not compatible with the cur=
rent platform.<br>See FAQ at <a href=3D"http://wiki.netbeans.org/FaqUnableT=
oPrepareBundledJdk" target=3D"_blank">http://wiki.netbeans.org/FaqUnableToP=
repareBundledJdk</a> for more information.<br>/usr/lib/jvm/java-8-oracle/jr=
e/lib/amd64/libawt_xawt.so: libXtst.so.6: cannot open shared object file: N=
o such file or directory<br><br>Exception:<br>=C2=A0 java.lang.UnsatisfiedL=
inkError:<br>=C2=A0 /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so=
: libXtst.so.6: cannot open shared object file: No such file or directory<b=
r><br>You can get more details about the issue in the installer log file:<b=
r>=C2=A0/root/.nbi/log/20160102173840.log<br><br><br>root@0b6da194134f:/hom=
e# java -version <br>java version &quot;1.8.0_66&quot;<br>Java(TM) SE Runti=
me Environment (build 1.8.0_66-b17)<br>Java HotSpot(TM) 64-Bit Server VM (b=
uild 25.66-b17, mixed mode)<br><br>root@0b6da194134f:/home# uname -m<br>x86=
_64<br>root@0b6da194134f:/home# uname -a<br>Linux 0b6da194134f 3.11.0-26-ge=
neric #45~precise1-Ubuntu SMP Tue Jul 15 04:02:35 UTC 2014 x86_64 x86_64 x8=
6_64 GNU/Linux<br>root@0b6da194134f:/home# <br><br><br></div>Thank you so m=
uch for help.<br></div>Kind regards. <br><div><div><br></div></div></div>
</blockquote></div><br></div>

--047d7b3a805421966705285fe88f--