Cannot build for Android, error 256

Hello!

I’m having trouble with making an APK. i recently upgraded computers- and likely deleted my java folder before migrating my files, as i was deleting things for space. on my new computer (catalina), i can’t seem to build to android using corona 3326, 3512, or 3577.

I get error 256, and it says i don’t have java 1.8 on builds 3500+. i went to download it and oracle says they’re charging now for commercial licenses. is that why it’s not building correctly? do i have to pay oracle to make this build? i looked into then open source java but tbh i’m way out of my depth here.

it also says “ERROR: Cannot Unlock Keystore: The password for the Keystore located at (keystore) is not correct or the file is not a valid Keystore” - i tried my old keystore, i tried making a new one, i tried using one that worked in feb on the old computer, no luck.

any help would be much appreciated!

error log from 3326: https://hastebin.com/enoguvajej.bash

error log from 3577: https://hastebin.com/nodawuloki.sql

based on this doc : https://docs.coronalabs.com/guide/start/installMac/index.html

In https://www.oracle.com/java/technologies/javase-downloads.html, download the “Java SE 8u241”. There are lots of java-downloads and I got confused last time. It should be like what the doc says, something like “jdk-8u131-macosx-x64.dmg”

Once installed, you can check the java --version

Thank you for your reply, yosu!!

Unfortunately Oracle recently started charging for commercial usage of Java 8 in January 2020, so I can’t really use that, as far as I can tell, unless I sign up for a paid Oracle account.

i just went to this page, login with my account (i think i created a new account early this year 2020). Manage to download the “macOS x64 254.06 MB jdk-8u241-macosx-x64.dmg”.

It is free for development use.

https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

Thank you again for your reply!

Unfortunately it’s for a paid app, so I do need a commercial license, which you have to pay for (copy/paste attached).  Looking to see if there’s a workaround to that.

Rob, do you know if anyone else has encountered this issue?

Important Oracle JDK License Update

The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost – but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here.

Commercial license and support is available with a low cost Java SE Subscription.

Oracle also provides the latest OpenJDK release under the open source GPL License at jdk.java.net.

based on this doc : https://docs.coronalabs.com/guide/start/installMac/index.html

In https://www.oracle.com/java/technologies/javase-downloads.html, download the “Java SE 8u241”. There are lots of java-downloads and I got confused last time. It should be like what the doc says, something like “jdk-8u131-macosx-x64.dmg”

Once installed, you can check the java --version

Thank you for your reply, yosu!!

Unfortunately Oracle recently started charging for commercial usage of Java 8 in January 2020, so I can’t really use that, as far as I can tell, unless I sign up for a paid Oracle account.

i just went to this page, login with my account (i think i created a new account early this year 2020). Manage to download the “macOS x64 254.06 MB jdk-8u241-macosx-x64.dmg”.

It is free for development use.

https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

Thank you again for your reply!

Unfortunately it’s for a paid app, so I do need a commercial license, which you have to pay for (copy/paste attached).  Looking to see if there’s a workaround to that.

Rob, do you know if anyone else has encountered this issue?

Important Oracle JDK License Update

The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost – but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here.

Commercial license and support is available with a low cost Java SE Subscription.

Oracle also provides the latest OpenJDK release under the open source GPL License at jdk.java.net.