This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, I installed Netbeans 6.7.1 last night (the version with all of the features) and after installation I tried to use netbeans but it didn't run. The icon just started bouncing on the dock but after 7 seconds it stopped. I checked the console and there was a message that said that it could not write/access the directory. I am using Snow Leopard 10.6.1 on a mid-2008 macbook with 2GB of RAM and a 2.4Ghz Intel Core 2 Duo. I also looked at the Java settings and I have Java 6 (64 and 32 bit). Thanks for your time.
Hi, Could you please copy-paste the message. What directory NetBeans couldn't access? Please, also attach install log file (/var/log/install.log).
Created attachment 87929 [details] I ran this using the terminal (under MacOsX folder)
Created attachment 87932 [details] This are the logs that were created during installation
sorry to add a new comment, but I created a guest account and tried running netbeans there and it worked. What can I do so it can work on my account?
It looks like ~/.netbeans or ~/.netbeans/6.7 folder has wrong permissions. Could you, please, write here the result of >ls -la ~ (I'm interested in ".netbeans" row) and >ls -la ~/.netbeans
and how do I get those? I ran that on terminal and this is what I got: Last login: Mon Sep 21 12:29:10 on console Carloss-MacBook:~ Carlos$ >ls -la~/.netbeans -bash: -la~/.netbeans: No such file or directory. I don't think netbeans created the file on my directory but I'm not sure.
You did everything correctly but missed a space after "ls -la". The command should be "ls -la ~" and "ls -la ~/.netbeans". NetBeans creates a folder ".netbeans" in your home directory when starts and it looks like the problem is in the permissions of this folder.
Ok, so I ran it again and this is what I got: Carloss-MacBook:~ Carlos$ >ls-la ~/.netbeans -bash: /Users/Carlos/.netbeans: is a directory Carloss-MacBook:~ Carlos$ How can I fix the directory/folder issue? because it runs fine on a guest account.
You missed the space again:( How to fix folder issue? You have several options: 1. Delete ~/.netbeans folder. You can do this by typing "rm -rf ~/.netbeans" in terminal. (Or "sudo rm -rf ~/.netbeans"). In this case you'll lose all NetBeans's configuration data you had before. (You can read more here: http://wiki.netbeans.org/FaqWhatIsUserdir) 2. Give me the result of the commands: >ls -la ~ >ls -la ~/.netbeans After that I'll give you further instructions.
Created attachment 88320 [details] ls -la ~/.netbeans command
Created attachment 88321 [details] ls -la ~/.netbeans
It is very strange but some folders are under root:admin IDs in your home dir. ".netbeans" is one of them, so you have the problem. To fix it, please use the following command (in terminal): > sudo chown -R -v Carlos:staff /Users/Carlos/.netbeans But I suggest to change IDs for all files in your home directory by the following command: > sudo chown -R Carlos:staff /Users/Carlos
Created attachment 88445 [details] Terminal Code that you gave me.
Ok, so I keep trying and trying and It just doesn't work. I've tried it millions of times and It won't let me change the setting, and it's frustrating because I need to use the software for school. Thank you for your time.
Who installed NetBeans on your computer? Do you know administrator password? When you type > sudo chown -R -v Carlos:staff /Users/Carlos/.netbeans you will be asked to enter this password. You can also try to use another account(administrator, guest, etc) to type above command.
We haven't heard from reporter for a long time and were not able to reproduce the issue in our environment. Closing the issue as worksforme. camarillocarlos, feel free to reopen if you still experience this issue, and provide requested information. Thanks.