LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Netbeans not working after restarting the computer (http://www.linuxquestions.org/questions/linux-software-2/netbeans-not-working-after-restarting-the-computer-4175449350/)

OtagoHarbour 02-09-2013 07:09 PM

Netbeans not working after restarting the computer
 
I have NetBeans 7.1 installed on Ubuntu 11.10. I had to restart the computer to free up some disk space that had been gobbled up by apache. Now I get the following.

Code:

       
$ sudo netbeans
/bin/bash: : No such file or directory

$ sudo apt-get install netbeans
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to locate package netbeans

/bin/bash does exist.

I noticed that I need to refresh my FireFox pages in order to use the back button. So I was wondering if something was overwritten on the disk when it was full.

Any assistance with this would be greatly appreciated.

Thanks,
Peter.

fortran 02-11-2013 05:20 AM

1) Did you checked in software center?
Does it still shows as installed or what?
It looks like your current netbeans is corrupted.

2) Generally, the netbeans process is stopped once you restart the system. but please check it once again.
open your terminal and type $ ps -aux
now search netbeans, it should not be there but if you find it. copy the pid and kill it using
$ kill -9 pid no.
If there are more than one netbeans, kill all.

3) Did you install it using software center or generally developers has a file name netbeans.sh?

OtagoHarbour 02-12-2013 09:22 PM

Quote:

Originally Posted by pavi_kanetkar (Post 4888980)
1) Did you checked in software center?
Does it still shows as installed or what?
It looks like your current netbeans is corrupted.

2) Generally, the netbeans process is stopped once you restart the system. but please check it once again.
open your terminal and type $ ps -aux
now search netbeans, it should not be there but if you find it. copy the pid and kill it using
$ kill -9 pid no.
If there are more than one netbeans, kill all.

3) Did you install it using software center or generally developers has a file name netbeans.sh?

Thank you for your reply. I checked the software center and uninsatlled netbeans. I then reinstalled netbeans with

Code:

sh netbeans-7.2.1-ml-linux.sh
and put the following in my .profile account
Code:

alias Netbeans='sudo /usr/local/netbeans-7.2.1/bin/netbeans'
Than gets around the problem but is probably suboptimal.

When I typed

Code:

ps -aux | grep netbeans
I got

Code:

peter    18556  0.0  0.0  4212  764 pts/4    S+  22:19  0:00 grep --color=auto netbeans
Thanks again,
Peter.


All times are GMT -5. The time now is 09:19 PM.