You are not logged in.

#1 2014-07-15 06:22:16

MaximoSoria
Member
Registered: 2014-07-15
Posts: 5

[Solved] Impossible to start Netbeans form GUI

This issue is curious, I've just installed Netbeans form the repositories, after finished I went to the launcher in my  KDE desktop and selected "netbeans" but nothing happened, in order to figured out what was wrong I opened a terminal and typed "netbeans", for my surprise Netbeans started normally, then I checked the configuration of the launcher and everything is OK. After that I decided to create a personal script to execute netbeans, and when I clic on the script nothing happens, but when I run it from the terminal it works perfectly. What could be wrong? Any help is welcome, thanks.

Last edited by MaximoSoria (2014-07-15 21:01:50)

Offline

#2 2014-07-15 07:04:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Impossible to start Netbeans form GUI

Post your desktop file.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-07-15 20:18:15

MaximoSoria
Member
Registered: 2014-07-15
Posts: 5

Re: [Solved] Impossible to start Netbeans form GUI

jasonwryan wrote:

Post your desktop file.

This is it:

[Desktop Entry]
Categories=Application;Development;
Comment[es]=IDE for Java, HTML5, PHP, Groovy, C and C++
Comment=IDE for Java, HTML5, PHP, Groovy, C and C++
Exec=netbeans
GenericName[es]=Netbeans
GenericName=Netbeans
Icon=netbeans
MimeType=
Name[es]=Netbeans
Name=Netbeans
NoDisplay=false
Path[$e]=
StartupNotify=false
Terminal=0
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

Last edited by MaximoSoria (2014-07-15 20:45:21)

Offline

#4 2014-07-15 20:33:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Impossible to start Netbeans form GUI

Please use code tags: https://wiki.archlinux.org/index.php/Fo … s_and_Code

Try specifying the full path.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-07-15 20:50:01

MaximoSoria
Member
Registered: 2014-07-15
Posts: 5

Re: [Solved] Impossible to start Netbeans form GUI

jasonwryan wrote:

Please use code tags: https://wiki.archlinux.org/index.php/Fo … s_and_Code

Try specifying the full path.

I have already done that, I tried:

Exec=netbeans
Exec=/usr/bin/netbeans
Exec=/bin/sh "usr/bin/netbeans"

But nothing works, unless I run those commands from a terminal they work perfectly. Thanks for the sugestion.

Offline

#6 2014-07-15 20:53:51

mpan
Member
Registered: 2012-08-01
Posts: 1,675
Website

Re: [Solved] Impossible to start Netbeans form GUI

Could you provide the part of ~/.xsession-errors that corresponds to the moment you use the launcher? Only that part (don't post your whole log!).

Offline

#7 2014-07-15 20:57:26

MaximoSoria
Member
Registered: 2014-07-15
Posts: 5

Re: [Solved] Impossible to start Netbeans form GUI

I have re-install Netbeans, this time instead of using the Arch's repositores I downloaded it from the official web site and after installed it everything works fine, the installer even create a shortcut on my desktop. Now if I take a look to netbeans.desktop this is waht I find:

[Desktop Entry]
Encoding=UTF-8
Name=NetBeans IDE 8.0
Comment=The Smarter Way to Code
Exec=/bin/sh "/opt/netbeans-8.0/bin/netbeans"
Icon=/opt/netbeans-8.0/nb/netbeans.png
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0

I'm not sure what was the problem but after installed it manually everything is perfect, thanks for the help jasonwryan.

Offline

#8 2014-07-15 21:00:49

MaximoSoria
Member
Registered: 2014-07-15
Posts: 5

Re: [Solved] Impossible to start Netbeans form GUI

mpan wrote:

Could you provide the part of ~/.xsession-errors that corresponds to the moment you use the launcher? Only that part (don't post your whole log!).

I'm so sorry mpan because of the time I took another alternative, I really appreciate your help guys.

Offline

Board footer

Powered by FluxBB