JDK 6 issue

Hi

I have searched the forums for “jdk” and jdk 6" an found nothing, which I am quite surprised

So here’s my question.  I can not get the Corona SDK to see my JDK installation,  I have tried JDK 8,  JDK 6 x64, and JDK 6 EE for Win.

I can’t believe I am the only one?

Have you rebooted your PC after installing the JDK?

Have you tried reinstalling Corona SDK?

It should just work.

Rob

Hi Rob

I’ll give it a go when I get home.  Does the JDK 6 absolutely have to be 32 bit?

As far as I know we’ve removed the requirements for JDK 6 and you should be fine with the lastest JDK. I’ll verify that as soon as I can.

The instructions for Java is located here:

https://docs.coronalabs.com/guide/start/installWin/index.html

You need to install any version of the JDK. Installing the JDK will also install the JRE. The main gotcha on Windows is you need to install the 32 bit version of whatever Java you chose to install (Windows x86 jdk-7u80-windows-i586.exe).  On macOS, the 64bit is the only version and will work on the Macs.

The latest is: http://download.oracle.com/otn/java/jdk/8u92-b14/jdk-8u92-windows-i586.exe, though you need to agree to their terms and conditions before you can download it:

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u92-oth-JPR

Rob

Rob is correct.

You must install the 32-bit (aka: x86; aka: 586) architecture of the JDK on Windows.

And Corona supports JDK versions 6, 7, and 8 on Windows.

Oracle supports multiple version/architecture installations of the JDK/JRE.

So, you don’t have to worry about one version replacing another.

Hi Rob

Thanks for looking into this so fast.  I tried it at work and it seems like it built it for Android (yay)!  I am going to try when I get home.  I couldn’t last night but I am pretty confident it will work.  There was a moment when it was trying to connect to a server and it looked like it hung (Not Responding) but it did resume.

Now I have to figure out how to get it to my phone :slight_smile:

Thanks Again!!

We have you covered:  https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#device-installation

Note, the first option is a Mac only feature (which is awesome) but the 2nd option using the “adb” tool is probably the most efficient after you get it setup since you have access to the device logs to look for problems.

Rob

dang Rob!

You’re awesome!  One quick question:  Do I have to deAuthorize my Work computer so that I may work on my Home computer?

You can run Corona on multiple computers. We used to have a 2 computer limit but we made it insanely high, effectively removing the limit.

Rob

Thanks Rob for all your help!! :smiley:

Have you rebooted your PC after installing the JDK?

Have you tried reinstalling Corona SDK?

It should just work.

Rob

Hi Rob

I’ll give it a go when I get home.  Does the JDK 6 absolutely have to be 32 bit?

As far as I know we’ve removed the requirements for JDK 6 and you should be fine with the lastest JDK. I’ll verify that as soon as I can.

The instructions for Java is located here:

https://docs.coronalabs.com/guide/start/installWin/index.html

You need to install any version of the JDK. Installing the JDK will also install the JRE. The main gotcha on Windows is you need to install the 32 bit version of whatever Java you chose to install (Windows x86 jdk-7u80-windows-i586.exe).  On macOS, the 64bit is the only version and will work on the Macs.

The latest is: http://download.oracle.com/otn/java/jdk/8u92-b14/jdk-8u92-windows-i586.exe, though you need to agree to their terms and conditions before you can download it:

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u92-oth-JPR

Rob

Rob is correct.

You must install the 32-bit (aka: x86; aka: 586) architecture of the JDK on Windows.

And Corona supports JDK versions 6, 7, and 8 on Windows.

Oracle supports multiple version/architecture installations of the JDK/JRE.

So, you don’t have to worry about one version replacing another.

Hi Rob

Thanks for looking into this so fast.  I tried it at work and it seems like it built it for Android (yay)!  I am going to try when I get home.  I couldn’t last night but I am pretty confident it will work.  There was a moment when it was trying to connect to a server and it looked like it hung (Not Responding) but it did resume.

Now I have to figure out how to get it to my phone :slight_smile:

Thanks Again!!

We have you covered:  https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#device-installation

Note, the first option is a Mac only feature (which is awesome) but the 2nd option using the “adb” tool is probably the most efficient after you get it setup since you have access to the device logs to look for problems.

Rob

dang Rob!

You’re awesome!  One quick question:  Do I have to deAuthorize my Work computer so that I may work on my Home computer?

You can run Corona on multiple computers. We used to have a 2 computer limit but we made it insanely high, effectively removing the limit.

Rob