Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual automation, Java JDK >= v8 (64-bit) - use Amazon Corretto OpenJDK #589

Closed
saketlopes opened this issue Oct 18, 2019 · 6 comments
Closed
Labels

Comments

@saketlopes
Copy link

saketlopes commented Oct 18, 2019

Hello Kensoh,

About Java JDK, Oracle announced that starting January 1st of 2019, changes to Java licensing and support would go into effect, which would require paying substantial licensing fees for software.

Due to this we are looking for other options .

Can TAGUI run on other option like Amazon Corretto?

Thanks & Regards
Saket Lopes

@kensoh
Copy link
Member

kensoh commented Oct 18, 2019

Hi @saketlopes thanks for telling me, can you share with me the official announcement or link that best describes this change?

TagUI uses SikuliX for its visual automation engine, covering functions such as computer vision to interact with UI elements, OCR, keyboard and mouse automation. SikuliX is built to run on Java.

http://sikulix.com/quickstart/

Beginning with version 11, there will not be functional differences between Oracle JDK and OpenJDK anymore. I will use the OpenJDK from now on, since it has an Open Source license.

From SikuliX official documentation above, it looks like it is already supporting OpenJDK, an open-source version of Java JDK. Can you try if OpenJDK works for you in place of Oracle's Java?

@kensoh kensoh added the query label Oct 18, 2019
@kensoh kensoh changed the title visual automation, Java JDK v8 (64-bit) or later is needed. Visual automation, Java JDK v8 (64-bit) or later is needed - use OpenJDK Oct 18, 2019
@saketlopes
Copy link
Author

Hello Ken

Thanks for sharing link on OPEN JDK.
I uninstall JAVA and install Amazon Corretto 8. Check below link.
https://d3pxv6yz143wms.cloudfront.net/8.232.09.1/amazon-corretto-8.232.09.1-windows-x64.msi

image

Then tried Sikuli command with below example , it is working. Do I have to test any other tagui functionality , with open JDK ?

example.
vision type('m', Key.WIN)
wait 1
click outlook-icon.png

About JAVA licence information ,check below link
https://upperedge.com/oracle/using-java-heres-how-oracles-new-2019-java-se-licensing-affects-you/

Regards
Saket Lopes

@kensoh
Copy link
Member

kensoh commented Oct 21, 2019

Oh great, thanks Saket!

Above test is sufficient. Amazon Corretto is a distribution of OpenJDK, since it works you can continue to use it instead of installing OpenJDK, which is officially supported by SikuliX.

I'm not familiar enough with both tools to recommend which one users should use going forward, though I'll prefer a vendor-agnostic version (OpenJDK) versus Amazon Corretto.

@kensoh kensoh closed this as completed Oct 21, 2019
@kensoh kensoh reopened this Nov 2, 2019
kensoh added a commit to tebelorg/TagUI that referenced this issue Nov 2, 2019
See aisingapore#589 for details. Rationale is Java JDK from Oracle will no longer be free for commercial use and must be paid for commercial usage.
kensoh added a commit that referenced this issue Nov 2, 2019
See #589 for details. Rationale is Java JDK from Oracle will no longer be free for commercial use and must be paid for commercial usage.
@kensoh kensoh changed the title Visual automation, Java JDK v8 (64-bit) or later is needed - use OpenJDK Visual automation, Java JDK v8 (64-bit) or later is needed - use Amazon Corretto OpenJDK Nov 2, 2019
@kensoh kensoh changed the title Visual automation, Java JDK v8 (64-bit) or later is needed - use Amazon Corretto OpenJDK Visual automation, Java JDK v8 (64-bit) or later - use Amazon Corretto OpenJDK Nov 2, 2019
@kensoh kensoh changed the title Visual automation, Java JDK v8 (64-bit) or later - use Amazon Corretto OpenJDK Visual automation, Java JDK > v8 (64-bit) - use Amazon Corretto OpenJDK Nov 2, 2019
@kensoh kensoh changed the title Visual automation, Java JDK > v8 (64-bit) - use Amazon Corretto OpenJDK Visual automation, Java JDK >= v8 (64-bit) - use Amazon Corretto OpenJDK Nov 2, 2019
@kensoh
Copy link
Member

kensoh commented Nov 2, 2019

Have updated readme and tutorial to point Java JDK v8 (64-bit) or later to Amazon Corretto OpenJDK website. Have tried the plain vanilla OpenJDK. I don't think the ease of setup meets the needs of most TagUI users. Thus opting for Amazon Corretto's distribution of OpenJDK.

The driver for this change is Oracle now requires Java JDK to be paid for commercial use, only for private and non-commercial use it is free. Amazon Corretto is a distribution of OpenJDK which can be used without restrictions and available on Windows, macOS, Linux.

kensoh added a commit to tebelorg/TagUI that referenced this issue Nov 2, 2019
kensoh added a commit that referenced this issue Nov 2, 2019
@kensoh
Copy link
Member

kensoh commented Nov 2, 2019

Added a further commit to change reference to Java JDK to OpenJDK, firstly to avoid confusion for users, and secondly, it is better to err on side of caution and advise users to use Amazon Corretto distribution of OpenJDK, instead of pointing to Oracle's Java JDK. Otherwise, if users are using for commercial purpose, they would be flouting Oracle's usage restriction guidelines.

@kensoh
Copy link
Member

kensoh commented Nov 2, 2019

Thanks Saket for highlighting this important info to me! No other users have mentioned this before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants