Unable to build for Android in OS X El Capitain: Java Required

After upgrade Mac OS X to El Capitain I’m not able to build for Android. When I call build see the following message: 

Java Required

Java is required by the Android SDK and needs to be installed to build Android applications.

 

To install Java, press the “More Info…” button on the dialog that follows.  When it is installed, build for Android again.

 

 

Everything worked fine before upgrade OS X to El Captain.

Java is installed in the system. When I call java -version I see:

java version “1.8.0_51”

Java™ SE Runtime Environment (build 1.8.0_51-b16)

Java HotSpot™ 64-Bit Server VM (build 25.51-b03, mixed mode)

This problem occurs both in 2015.2646 and 2015.2730 versions of Corona SDK.  Does Corona supports El Capitain?  Could you help me to solve this problem?

Hi, I’m having the same problem…

Corona SDK 2015.2730

java version “1.8.0_25”

Java™ SE Runtime Environment (build 1.8.0_25-b17)

Java HotSpot™ 64-Bit Server VM (build 25.25-b02, mixed mode)

Best regards,

Erich Grüttner D.

The upgrade likely removed Java 6, which is still required for some thing.

Did you actually download Java 6 from the link provided by the “More Info” button?

I got the same error and installed Java via the link provided during the build process. It took a minute and seems to be working fine (that is, I can build for Android).

Thank you! now it works after installing Java 6. 

Thank you. I didn’t want to install Java 6, but if its required, let’s do it!

Best regards,

Erich Grüttner D.

Hi, I’m having the same problem…

Corona SDK 2015.2730

java version “1.8.0_25”

Java™ SE Runtime Environment (build 1.8.0_25-b17)

Java HotSpot™ 64-Bit Server VM (build 25.25-b02, mixed mode)

Best regards,

Erich Grüttner D.

The upgrade likely removed Java 6, which is still required for some thing.

Did you actually download Java 6 from the link provided by the “More Info” button?

I got the same error and installed Java via the link provided during the build process. It took a minute and seems to be working fine (that is, I can build for Android).

Thank you! now it works after installing Java 6. 

Thank you. I didn’t want to install Java 6, but if its required, let’s do it!

Best regards,

Erich Grüttner D.