Arduino bug on JAVA and Mac OS X

Arduino has a bug common to several other programs that work on Mac OS X. If you have a clean install of Mac OS X it will not have JAVA. You can go to Oracles site and download JAVA 7 or 8 and it will install properly on the Mac. Most JAVA programs will start and correctly find JAVA and run okay. There are a few , However, that will not find a properly installed JAVA ( this is the case with Arduino ) and will only look where Apple has installed JAVA 6 ( now obsolete and unsupported and soon to not be on Apples download page). Since Arduino looks in the Apple location to determine if JAVA is present ( which is a wrong and nonstandard location BTW) it pops up the message " You must install JAVA 6 from APPLE " even though there is a proper install of JAVA 7 or 8 from ORACLE on the Mac and that install is proper and working. I had the same problem with the JMRI program and they finally figured out the problem and put the correct path name in JMRI so it would look in the standard Oracle install ( not the Apple JAVA 6 install ) and then JMRI would work. In any case the only work around is to install Apple JAVA 6 in addition to JAVA 8 from oracle and Arduino will then start and run under JAVA 8. This needs fixed very soon as JAVA 6 will be leaving the Mac web site pretty soon. This applies to all version of the MAC OS X operating system that some without JAVA. So that is 10 and 9 and 8 and 7 for sure. If this is not fixed the Arduino will cease to work on Mac's as soon and Apple JAVA 6 goes away.

Many thanks!! this solve the problem i asked yesterday!!

Hi guys, jlefevre1, any clues on changing to Java root directory? I've had a little hunt about but I'm a bit out of my depth here? Are we better off waiting for Arduino to have a look at their OS X package?

I went to the Java Archives > Java 6 SE, but was unable to find a download for Apple, Mac, OS X
Please provide path.

Dead in the water…All of Apples' Links go to the latest Java 8 upgrade and Oracle Archives list nothing for Apple products.

Try here: Java SE 6 Official Apple Install

Also, give this IDE version a try http://arduino.cc/en/Guide/IDEonRecentMacOSX