Install NetBeans 6.5 on Ubuntu 8.10
I have decided to play around with NetBeans 6.5. I used NetBeans 4 years ago for a little Java programming while getting my Master’s degree and since they recently added PHP support and have a thriving development community, thought it would be a good time to give it a try again. IFirst, I need to get Java 6, so I used Add/Remove…, selected Show All Available Options and searched for Sun Java, and installed it.
Next, I downloaded the PHP only version of NetBeans 6.5, issued “chmod +x ./netbeans-6.5-ml-php-linux.sh” to make the file executable, and then issued “bash ./netbeans-6.5-ml-php-linux.sh” to begin the installation (of course I could have right clicked on the file, selected properties and changed the permissions that way…). The installation screen popped up and sat there blank. Oh boy… I issued “java -version” and it came back with 1.5.0_11, instead of 1.6.0_10. In the far reaches of my brain, I remembered installing Sun Java before it was available in the repos, and manually overriding Ubuntu to use that. So I had to make sure I was using the latest version, and issued “sudo update-alternatives –config java” :
I swtiched to the newer version, and was able to install NetBeans 6.5. Looking forward to testing it out!