Install NetBeans 6.9 to OS X 10.5.8
NetBeans 6.9 is a great PHP IDE and I have been pretty happy about it. Although initially, I almost gave up installing this on my MacBook Pro – After installation was done and launch the application I have encountered an error saying “Cannot run on older version of Java 6 Standard Edition.
Please install Java 6 Standard Edition or newer or use –jdkhome switch to point to its installation directory.”
To solve this problem:
Application: Utilities: Java Preference >> Drag Java SE 6 to the top
If this doesn’t fix the issue try:
Terminal: type “env”. Do you see JAVA_HOME is defined? If so, is this pointing to older version? If so fixing that should resolve the issue (at least it resolved my case). Here is how I fixed:
- my JAVA_HOME was set to
/Library/Java/Homewhich was simply the symlink to
System/Library/Frameworks/ JavaVM.framework/Versions/1.5.0/Home - rename the symlink to Home_old
- then create new symlink point to 1.6 (SE 6) as follows: ln -s
/System/Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Home /Library/Java/Home
Category: PHP 4 comments »
July 8th, 2010 at 9:18 pm
Hi,
Many thanks for your help. Dragging Java SE 6 to the top did the trick.
Netbeans 6.9 is now running on my Macosx 10.5
Thanks
Alexis
July 15th, 2010 at 3:19 am
[...] This post was mentioned on Twitter by Jeremy Romey【ツ】, David Gueye. David Gueye said: Si vous non plus vous n'arrivez pas à faire fonctionner Netbeans 6.9 sur mac : http://bit.ly/bpS3mG (merci à @jeremyFreeAgent) [...]
July 22nd, 2010 at 9:06 pm
My problem is there is no Java folder inside my Library folder. Java already installed, how can this happened?
July 23rd, 2010 at 5:10 am
theMatrix,
Is JAVA_HOME specified in env? If so, what is the path?
Do you have JavaVM.framework folder in System: Library:Frameworks? That’s where actual library is located. What’s under Macintosh HD: Library: Java should hold just alias (symlink) to the actual installation path.