I recently became the owner of a MacBook Pro and a user of Mac OS X.
I bought this "beast" not for fun, but in order to work. Well, I immediately set about setting up the system: installing compilers, interpreters, IDE, various libraries and extensions, as well as other software needed for development or simplifying it.
After I upgraded my system to the “lion”, thanks to
this post absolutely free, and I installed a new Xcode from the app store, also for free, installing applications from MacPort or DMG packages, it went like clockwork. After some time, the turn came to Netbeans 7.0.1. After installing products from JetBrains, which were installed in less than 5 minutes, taking into account the download, Netbeans said they did not see Java and refused to install.
The solution for my case was found
on the official bugtracker :
# ,
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
')
After that, you can run the installation and click the button “Next” several times to wait for the appearance of the button “Finish”.
I decided to publish a note about this bug, since Netbeans is a popular free IDE and other users may have such problems.
PS In general, I hope that my article will not be useful to anyone, and for everyone the installation will go like clockwork. And Julia Novozhilova, the developer who was assigned the task, will soon solve this problem and the need for the article will disappear by itself.