2

I am using Ubuntu 13.10 and have netbeans 7.4 whenever I close netbeans it restart and keep doing that until I restart my computer and same story.

Edit

can I do something with netbeans which close it and I am not asking for finding process id and kill it.
Downloaded the netbeans from its website .sh extension.
NetBeans IDE 7.4 if I try to run it with sudo from terminal sudo netbeans it says sudo: netbeans: command not found
If netbeans is installed with sudo apt-get install netbeans its fine and have no problem but they have older version netbeans 7.0.1


what should I do to solve this problem ?

3
  • First run ps aux | grep netbeans command.It will display netbeans program along with it's pid.

  • Note the pid and kill the program by running,

    sudo kill <pid>
    
  • thats not a real solution right ? – Waqas Feb 20 '14 at 11:33
  • why it's not a right solution? – Avinash Raj Feb 20 '14 at 11:35
  • well, every time you have to find the id and then kill it imagine it doing every time you have to close a software you use frequently – Waqas Feb 20 '14 at 11:36
  • no your answer help somehow but thats not complete solution so i would say no you dont delete it – Waqas Feb 20 '14 at 11:44
  • no I do not know the answer, thats why I asked it – Waqas Feb 20 '14 at 11:53
1

You probably will end up with this

killall java

this Will kill all java related apps as well including netbeans in your user processes

to kill All java apps with all users use sudo

sudo killall java
0

I think net-beans doesn't have privileges to update its state .

try sudo to start netbeans

  • sudo netbeans doesnt work ! how to run it as sudo then ? – Waqas Feb 24 '14 at 4:44
  • 1
    I downloaded the netbeans from its website the .sh extension and installed so now I cant seem to run it from terminal with command sudo netbeans and refuses to close whenever I close it – Waqas Feb 25 '14 at 5:27
  • try sudo pkill -9 netbeans – nux Feb 25 '14 at 12:19
  • No, it doesn't do anything ! – Waqas Feb 25 '14 at 14:29
  • is there any logs about netbeans in /var/log/syslog – nux Feb 25 '14 at 14:34
0

To install netbeans follow this command:

sudo sh netbeans-*.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.