corretto / corretto-8 Goto Github PK
View Code? Open in Web Editor NEWAmazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8
License: GNU General Public License v2.0
Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8
License: GNU General Public License v2.0
Compiling Corretto on Ubuntu 18.04 fails with two compilation errors:
/home/dacut/projects/corretto-8/src/hotspot/src/share/vm/code/dependencies.cpp: In function ‘static void Dependencies::write_dependency_to(xmlStream*, Dependencies::DepType, GrowableArray<Dependencies::DepArgument>*, Klass*)’:
/home/dacut/projects/corretto-8/src/hotspot/src/share/vm/code/dependencies.cpp:498:6: error: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Werror=format-overflow=]
void Dependencies::write_dependency_to(xmlStream* xtty,
^~~~~~~~~~~~
/home/dacut/projects/corretto-8/src/hotspot/src/share/vm/code/dependencies.cpp:498:6: note: directive argument in the range [0, 2147483647]
/home/dacut/projects/corretto-8/src/hotspot/src/share/vm/runtime/fprofiler.cpp: In member function ‘void ThreadProfiler::vm_update(TickPosition)’:
/home/dacut/projects/corretto-8/src/hotspot/src/share/vm/runtime/fprofiler.cpp:638:56: error: argument 1 null where non-null expected [-Werror=nonnull]
bool vm_match(const char* name) const { return strcmp(name, _name) == 0; }
~~~~~~^~~~~~~~~~~~~
cd src; ./configure; make
Compilation succeeds.
N/A
OS: 18.04.1 LTS (Bionic Beaver)
Version: build 1.8.0-internal-dacut_2018_11_24_13_21-b00
A couple minor code changes appear to fix this issue and creates an apparently working Corretto build:
dacut@68c43e7
I'm not submitting this as a pull request because I'm dubious whether this should be fixed in code vs. compilation flags or other annotations.
Output from ./configure, in case it's helpful:
A new configuration has been successfully created in
/home/dacut/projects/corretto-8/src/build/linux-x86_64-normal-server-release
using default settings.
Configuration summary:
* Debug level: release
* JDK variant: normal
* JVM variants: server
* OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
Tools summary:
* Boot JDK: openjdk version "1.8.0_181" OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.18.04.1-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) (at /usr/lib/jvm/java-8-openjdk-amd64)
* Toolchain: gcc (GNU Compiler Collection)
* C Compiler: Version 7.3.0 (at /usr/bin/gcc)
* C++ Compiler: Version 7.3.0 (at /usr/bin/g++)
Build performance summary:
* Cores to use: 7
* Memory limit: 15757 MB
Binary files for the OpenJDK 8, 10, and 11 are available from a number of sources.
There are a limited number of binary releases for the JRE and mostly for linux.
No 0ne supplies any JRE binaries for windows except Oracle.
It would be, I think, a nice feature enhancement for you to also provide the JRE's.
The standard build creates the JRE images but no one provides or supports them as far as I know.
Just a thought.
Hello there,
Debian-Like system would benefits a lot to have a Debian Package distrubtion of Corretto 8 !
The ideal would be a PPA to add in our apt source lists in Ubuntu, to have updates handled by apt :) I can split that feature request in two (one for a .DEB, another for the PPA) if it's more convenient for you. See #29
Jonathan
When I try to run Talend Open Studio for Data Integration (Win 64) - TOS_DI-20180411_1414-V7.0.1, I get the message:
Failed to load the JNI shared library "C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_192\bin\..\jre\bin\server\jvm.dll".
Install Talend Open Studio for Data Integration and start it.
Work as with HotSpot.
The message as displayed by Windows.
OS: Windows 10-64
Version:
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview2-b12)
OpenJDK Server VM (build 25.192-b12, mixed mode)
C:\Users\2>dir "C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_192\bin\..\jre\bin\server\jvm.dll"
Volume in drive C is Windows
Volume Serial Number is ACB8-XXXX
Directory of C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_192\jre\bin\server
12/14/2018 10:40 PM 6,097,848 jvm.dll
1 File(s) 6,097,848 bytes
0 Dir(s) 111,763,304,448 bytes free
Forked from #14 , comment from @cakruege
1.8.0_192 is created but not 1.8. The following key is missing:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8]
"JavaHome"="C:\\Program Files\\Amazon Corretto\\jre8"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Amazon Corretto\\jre8\\bin\\server\\jvm.dll"
For example microsoft build agents didn't pickup the existance of corretto:
https://github.com/Microsoft/azure-pipelines-agent/blob/master/src/Misc/layoutbin/powershell/Add-JavaCapabilities.ps1
Downloaded the rpm for the JDK, from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
but extracting that rpm via cpio seems to show its just JRE and not a JDK at all.
See, no javac :-
~/Downloads$ rpm2cpio java-1.8.0-amazon-corretto-1.8.0_192.b12-1.amzn2.x86_64.rpm | cpio -idmv
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/ASSEMBLY_EXCEPTION
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/LICENSE
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/THIRD_PARTY_README
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/java
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/jjs
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/keytool
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/orbd
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/pack200
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/policytool
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/rmid
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/rmiregistry
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/servertool
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/tnameserv
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/unpack200
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/jli
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/jli/libjli.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/jvm.cfg
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libattach.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libawt.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libawt_headless.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libawt_xawt.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libdecora_sse.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libdt_socket.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libfontmanager.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libglass.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libhprof.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libinstrument.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libj2gss.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libj2pcsc.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libj2pkcs11.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjaas_unix.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjava.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjava_crw_demo.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjavafx_font.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjavafx_font_freetype.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjavafx_font_pango.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjavafx_iio.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjawt.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjdwp.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjpeg.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjsdt.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjsig.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjsound.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libjsoundalsa.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/liblcms.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libmanagement.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libmlib_image.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libnet.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libnio.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libnpt.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libprism_common.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libprism_es2.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libprism_sw.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libsaproc.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libsctp.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libsplashscreen.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libsunec.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libunpack.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libverify.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/libzip.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server/Xusage.txt
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server/libjsig.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/amd64/server/libjvm.so
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/calendars.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/charsets.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/classlist
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm/CIEXYZ.pf
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm/GRAY.pf
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm/LINEAR_RGB.pf
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm/PYCC.pf
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/cmm/sRGB.pf
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/content-types.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/currency.data
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/cldrdata.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/dnsns.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/jaccess.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/jfxrt.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/localedata.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/meta-index
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/nashorn.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/sunec.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/sunjce_provider.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/sunpkcs11.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/ext/zipfs.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/flavormap.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/hijrah-config-umalqura.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/cursors.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/invalid32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_CopyDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_CopyNoDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_LinkDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_LinkNoDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_MoveDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/images/cursors/motif_MoveNoDrop32x32.gif
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/javafx.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/jce.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/jexec
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/jfxswt.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/jsse.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/jvm.hprof.txt
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/logging.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management-agent.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management/jmxremote.access
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management/jmxremote.password.template
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management/management.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/management/snmp.acl.template
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/meta-index
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/net.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/psfont.properties.ja
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/psfontj2d.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/resources.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/rt.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/blacklisted.certs
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/cacerts
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/java.policy
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/java.security
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/limited
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/limited/US_export_policy.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/limited/local_policy.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/unlimited
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/unlimited/US_export_policy.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/security/policy/unlimited/local_policy.jar
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/sound.properties
./usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib/tzdb.dat
223736 blocks
The Oracle JRE provides an auto-update feature that ensures end-users stay up to date with security fixes. We'd like to see the same feature with Corretto JRE.
See this similar request for AdoptOpenJDK.
Raising this as a new issue as #17 was closed I think incorrectly.
Yes want a tgz artifact, but my point was that we need the Linux binaries linked such that those binaries will run on older versions of Linux which have older versions of GLIBC.
The current RPM contains binaries that require GLIBC_2.14.
But RHEL 6 only has GLIBC_2.12. Sure I could use LD_LIBRARY_PATH to supply my own GLIBC version, but that is more awkward then just being able to use what is there.
I pointed out in #17 that OpenJDK from Azul will work on GLIBC_2.5.
So there really seems to be no reason why Corretto-8 could not be built such that it will run on RHEL 6 (or other antiques of that ilk).
(Split from #2):
In order to support other Linux distributions and other ways of installing Amazon Corretto, it would be great if it was offered in "plain" archives (tar.gz, ZIP)
With recent changes (#39, #40, #43) the Windows installer makes a number of environment changes that may not be desirable when installing multiple JVMs on a machine (e.g. a CI build agent or a developer laptop for working on multiple projects).
Could the installer provide an option to skip these steps?
I noticed that Corretto includes DIZ files in the bin and bin/server folders. I opened one and its a zip file containing a MAP and PDB, which I know are for debugging. Is it safe and does Amazon allow us to delete the DIZ files for a deployed JRE. We have a particular app that is very space sensitive so saving an extra 13MB would be helpful. And yes, I know hard drives are cheap but some of us still have to work in severely constrained environments. Thanks!
The OpenJFX build bundled in Corretto doesn't include codecs or Webkit
License and build codecs, build Webkit, and include as part of Corretto
Right now, the alternative is to custom-build my own OpenJFX
Converted the rpm to a tgz so I could try without installing on a RHEL 6 server only to find that the preview requires GLIBC_2.14 or greater..... The RHEL 6 has GLIBC_2.12.
I see the OpenJDK from https://www.azul.com/downloads/zulu/zulu-linux/ will work on GLIBC_2.5...
It would be nice / useful if corretto-8 would run on older OS's.
Corretto macOS installer - AWS logo is partially hidden
Download https://d3pxv6yz143wms.cloudfront.net/corretto-jdk-8u192-macosx-x64.pkg
Install on macOS High Sierra 10.13.6
Installer displays instructions with AWS logo partially obstructed.
AWS logo fully visible
OS: macOS 10.13.6
Version: openjdk version "1.8.0_192"
OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview-b12)
OpenJDK 64-Bit Server VM (build 25.192-b12, mixed mode)
One of the easiest ways to install Java on macOS is via Homebrew's brew cask install java
which tracks the latest version (currently 11) or brew cask install java8
which tracks the newest version of Java8 that's available. Can we get a version of these formulas that track Corretto instead?
Provide versions of the above commands that install Amazon Corretto provided binaries instead of the Oracle ones.
The download location in the official documentation is not easy to automate and we'll have to hardcode to a specific version if we want to install Java via that mechanism. Our current approach of running brew cask install java8
makes sure that we always install the newest version without having to update the scripts to track whatever that new version might be.
N/A
In all the documentation there is nothing about Solaris.
So please support Solaris as a plattform for the Coretto-OpenJDK (or update the documentation).
Issue: there is no JRE package for a generic Linux OS, only JDK package.
It would be good to have JRE package so docker images based on other Linux versions have smaller size.
JDK package works, but takes more space.
Thank you for the Corretto initiative.
Once #2 is solved it would be great to see Amazon Corretto also distributed via a Maven Repo (not necessarily Maven Central, it may be via Amazon's own Maven Repo).
This is for the use-case where the JRE is bundled with the application. Having the JRE in some Maven Repo would make the whole build/packaging process much more simple and robust.
When executing JavaFX controller tests with Maven (either specific or through the test lifecycle) I get the following error:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb116650a6, pid=2984, tid=0x00000000000008c0
JRE version: OpenJDK Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
Java VM: OpenJDK 64-Bit Server VM (25.202-b08 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [javafx_font.dll+0x50a6]
This happens when a javafx.stage.Stage tries to show() a javafx.scene.Scene .
This occurs in the Amazon Corretto 8 versions u192, u202, u202.08.2 (64 Bit)
This works in the Oracle versions.
Try to show() a javafx.scene.Scene with a javafx.stage.Stage
The tests should be executed correctly like Oracle JDK x64: build 1.8.0_192-b12, Oracle JDK x86: build 1.8.0_201-b09
OS: Windows 10 Enterprise (x64)
Version: build 1.8.0_192-amazon-corretto-preview-b12 (x64), build 1.8.0_202-b08 (x64) and the new 1.8.202.08.2 (x64)
Maven: apache-maven-3.6.0
As I have noticed, this bug also occurs in Azul ZuluFX 1.8.0 u192 (build 1.8.0_192-b01). As this works with the Oracle JDK it may be a bug in both distributions (Corretto and ZuluFX). If this is not related to Corretto I apologize.
This error generates a hs_err_pid.log. If this is needed for further investigations I will post it.
When using AWT fonts, initializing sun.font.CFontManager
fails with the following error:
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/libfontmanager.dylib: dlopen(/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/libfontmanager.dylib, 1): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/libfontmanager.dylib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.font.FontManagerNativeLibrary$1.run(FontManagerNativeLibrary.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerNativeLibrary.<clinit>(FontManagerNativeLibrary.java:32)
at sun.font.SunFontManager$1.run(SunFontManager.java:339)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<clinit>(SunFontManager.java:335)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:82)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.canDisplay(Font.java:1980)
Looking in /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib
shows there's a misnamed libfreetype.dylib.6
(should be libfreetype.6.dylib
), but even fixing that name doesn't allow AWT to initialize successfully because it's explicitly looking in /opt/X11/lib
.
This appears to be quite similar to adoptium/temurin-build#202, but not quite the same. With AdoptOpenJDK, the issue can be fixed simply by renaming libfreetype.dylib.6
to libfreetype.6.dylib
while leaving the library in jre/lib
.
import java.awt.*;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
public class FontBug {
private static final String ALPHABET = "abcdefghijklmnopqrstuvwxyz0123456789";
public static void main(String[] args) {
Font[] fonts = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
List<Font> usableFonts = Arrays.stream(fonts)
// Calling Font.canDisplay here will fail
.filter(font -> ALPHABET.chars().allMatch(font::canDisplay))
.collect(Collectors.toList());
System.out.println("Usable fonts: " + usableFonts.size());
}
}
CFontManager
initializes successfully and AWT fonts work.
OS: macOS 10.14.1 (Mojave)
Version: build 1.8.0_192-amazon-corretto-preview-b12
I got this failure from the (defunct, but still generally functional) JCaptcha library, but it's not unique to JCaptcha (as shown by my simple reproduction, which uses nothing but standard Java).
No.
Currently Java has capability to reload class methods through agent argument. Enhancing this functionality to littler further and make the classes reload by keeping some guidelines on how the copy of members data onto new class instance would be helpful.
How it is helpful.
Currently, whenever a small change in code happen we need to shutdown and restart JVM to see the change reflected. Even though JVM is super fast to boot(with in a sec), but lot of application boot logic takes 1 to 60 seconds. So the code change need to wait long cycles to see the effect.
Initial JVM boot time(1 second) part of it is being handled in #JavaEE but real time consumed is not by JVM cold start but by application to load lot of resources at beginning.
By giving this option of enhanced runtime class loading, develoeprs would be 10x productive and number of test cases they run would also be doubled, which improves quality.
https://zeroturnaround.com/software/jrebel/ doing this hard part with lot of price.
This issue was there in OpenJDK bug database as well and there is some discussion went but some how no one moved further.
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4910812
http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004321.html
http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20110727/6e1fab2f/attachment.txt
Windows Defender keeps reporting a virus in the new JDK 8.202.08.2 MSI for x86, when I download it from your site. Here's the output that is repeatedly produced when I attempt to download amazon-corretto-8.202.08.2-windows-x86.msi:
Trojan: Win32/Spursint.F!cl
Alert level: Severe
Status: Failed
Date: 01/30/2019 13:47
Category: Trojan
Details: This program is dangerous and executes commands from an attacker.Affected items:
containerfile: C:\Users\user1\Downloads\amazon-corretto-8.202.08.2-windows-x86.msi
file: C:\Users\user1\Downloads\amazon-corretto-8.202.08.2-windows-x86.msi->Data1.cab->fil01E7047CF0BF93FEA9106E6DA209E042
file: C:\Users\user1\Downloads\amazon-corretto-8.202.08.2-windows-x86.msi->Data1.cab->filFxPackager
file: C:\Users\user1\Downloads\amazon-corretto-8.202.08.2-windows-x86.msi->Data1.cab->filPackager
webfile: C:\Users\user1\Downloads\amazon-corretto-8.202.08.2-windows-x86.msi|https://d2znqt9b1bc64u.cloudfront.net/amazon-corretto-8.202.08.2-windows-x86.msi|pid:12760,ProcessStart:131933408237544035
I debated on whether to post this here or just email it to aws-security. In the end, I decided to post it here too so other end users would be aware of the potential issue. I know there is always the chance that it is just a false positive. If it's not a false positive, I would want to be aware if others knew of the issue and if it were being worked on.
To reproduce it, I simply download amazon-corretto-8.202.08.2-windows-x86.msi from https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html on a Windows system that has Defender enabled.
This can be repeated on a Windows Server 2019 system and a Windows 10 system. I have verified that both systems have the latest virus signatures.
Thanks,
Joe Prevo
I uninstalled both Corretto x86/x64 in Windows;
But the JAVA_HOME and PATH environment variable remains, and the installed directory remains empty.
Both JAVA_HOME and PATH (x86/x64) environment will be removed after uninstall.
It depends on install/uninstall order.
OS: Windows 10
Version "build 1.8.0_192-amazon-corretto-preview2-b12"
Exception is thrown when we select an image to copy to clipboard.
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.IOException;
import javax.swing.ImageIcon;
public class ImageSelection {
public static void main(String[] argv) throws Exception {
ImageSelection1 imgSel = new ImageSelection1(new ImageIcon("C:/Users/na603925/AppData/Roaming/HarmonyScreenCapture/HSC_20190115_121315.png").getImage());
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(imgSel, null);
Transferable t = Toolkit.getDefaultToolkit().getSystemClipboard()
.getContents(null);
if (t != null && t.isDataFlavorSupported(DataFlavor.imageFlavor)) {
Image img = (Image) t.getTransferData(DataFlavor.imageFlavor);
}
}
}
class ImageSelection1 implements Transferable {
private Image image;
public ImageSelection1(Image image) {
this.image = image;
}
public DataFlavor[] getTransferDataFlavors() {
return new DataFlavor[] { DataFlavor.imageFlavor };
}
public boolean isDataFlavorSupported(DataFlavor flavor) {
return DataFlavor.imageFlavor.equals(flavor);
}
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException, IOException {
if (!DataFlavor.imageFlavor.equals(flavor)) {
throw new UnsupportedFlavorException(flavor);
}
return image;
}
}
should be able to copy image to clipboard
If applicable, add screenshots to help explain your problem.
OS: Windows 10
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview2-b12)
OpenJDK 64-Bit Server VM (build 25.192-b12, mixed mode)
German version of docs still referr to Preview
This was reported at https://twitter.com/kaiserkandre/status/1091732557836812288
amazon-corretto-preview2-8u192-windows-x64.msi
set's a trailing backslash to JAVA_HOME
JAVA_HOME C:\Program Files\Amazon Corretto\jdk1.8.0_192\
Install preview2 with default setup
JAVA_HOME has no trailing backslash
JAVA_HOME C:\Program Files\Amazon Corretto\jdk1.8.0_192
OS: Windows
Version build 1.8.0_192-amazon-corretto-preview2-b12
I have installed both Corretto x86/x64 in Windows.
If I try to uninstall the one (x86 or x64), I can't identify easily.
It would be better if Corretto will be added x86/x64 identification like Oracle JDK/JRE like below image.
This request is related to #22 .
Corretto at the moment does not release with webkit and a few other JFX binaries. However, if user decided to build Corretto with OracleJDK, the artifacts would include those binaries. There is an issue reported by one of the users that even in that case, webkit project does not work. We need to figure out the root cause of it.
The user issue reported on StackOverflow: https://stackoverflow.com/questions/54123188/unsatisfiedlinkerror-occurs-on-openjfx-webkit-32bit
Make sure Corretto would work with webkit if user decide to build Corretto themselves.
N/A
https://stackoverflow.com/questions/54123188/unsatisfiedlinkerror-occurs-on-openjfx-webkit-32bit
Attempting to run eclipse or eclipse-installer with corretto8 as the default JDK in Mac 10.12.6 fails while displaying a "Failed to Create the Java Virtual Machine error" popup.
Output when running:
$ /Volumes/Eclipse\ Installer/Eclipse\ Installer.app/Contents/MacOS/eclipse-inst
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home
Error: could not find libjava.dylib
Failed to GetJREPath()
libjava.dylib is currently present in:
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/libjava.dylib
Problem does not happen with Oracle/Zulu/AdoptOpenJDK
Install corretto and another JDK8 implementation
Try:
$ /Applications/Eclipse.app/Contents/MacOS/eclipse -vm /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/bin/java
The program failed with:
Error: could not find libjava.dylib
Failed to GetJREPath()
Eclipse and Eclipse-Installer should start when using corretto
OS: macOS High Sierra 10.13.6
Version: build 1.8.0_192-amazon-corretto-preview-b12
Amazon Corretto is currently distributed in 4 flavors:
In order to support other distribution systems (eg: Docker images, SDKMan) it would be great if it was offered in "plain" archives (tar.gz, ZIP) containing the binaries for the respective operating systems additionally to the aforementioned distributions.
The preview release is missing file javafx-src.zip with the compressed source code of OpenJFX. Without it, debugging through OpenJFX code in an IDE won't work out of the box.
We found that the naming of the file must be exactly "javafx-src.zip" and it has to be sitting right next to "src.zip".
All platforms we ship for.
@jim-pickering in #14:
It would also be nice if Corretto would set the JAVA_HOME environment variable with the installer too. Zulu does that.
When I execute on Windows PowerShell the command:
Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -like 'Java'}
I get:
IdentifyingNumber : {26A24AE4-039D-4CA4-87B4-2F64180192F0}
Name : Java 8 Update 192 (64-bit)
Vendor : Oracle Corporation
Version : 8.0.1920.12
Caption : Java 8 Update 192 (64-bit)
IdentifyingNumber : {4A03706F-666A-4037-7777-5F2748764D10}
Name : Java Auto Updater
Vendor : Oracle Corporation
Version : 2.8.192.12
Caption : Java Auto Updater
But I don't see the data for Corretto.
Adding them would simplify the product inventory on computers.
Thank you for taking the time to help improve OpenJDK and Corretto.
If your request concerns a security vulnerability then please report it by email to [email protected] instead of here.
(You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)
Otherwise, if your idea concerns OpenJDK 8
and is not specific to Corretto 8
we ask that you propose it to the OpenJDK community.
Depending on your contributor status for OpenJDK,
please use the JDK bug system or
the appropriate mailing list
for the given problem area or update project jdk8u-dev.
If your proposal is specific to Corretto 8,
then you are in the right place.
Please proceed with the following.
There is no Wiki or Roadmap page for this project that would describe the short/long term goals of this project.
Looking forward to see a roadmap page that will list out some of the identified work items or goals. This will help better collaboration with the community who want to contribute to this project.
I don't see an alternative to this as of now.
None.
From @jmichaelras on Twitter
Any plans to update the java.vendor/java.vm.vendor etc system properties in Corretto to correctly identify Amazon as the vendor?
In the current preview builds it says Oracle
Corretto's Win64 Preview 2 jarsigner.exe reports a problem with the Comodo time server for signing a JAR with the TSA option. The warning does not occur with Oracle's JDK or Adopt's OpenJDK. I get the following warning when I try to code sign it:
Warning:
The TSA certificate chain is invalid. Reason: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I use the following command to sign the jar:
"%CORRETTO_HOME%\bin\jarsigner.exe" -keystore MySigningStore.jks -storepass MyPassword -digestalg SHA-256 -sigalg SHA256withRSA -tsa http://timestamp.comodoca.com/ my.jar MyCertAlias
I'm trying to understand if Corretto just added a warning that the other JDKs should have been reporting too or if there might actually be a problem that will affect my code running later on. I have a bunch of jar files and they will be placed on quite a few production servers and I don't want my customers suddenly calling me if the code stops working at some point. I've worked in programming long enough to know you don't ignore warnings unless you research them and know it's OK to ignore them...
This is being run on Windows Server 2019 with JDK.:
OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview2-b12)
OpenJDK 64-Bit Server VM (build 25.192-b12, mixed mode)
Thanks,
Joe
Doc bug reported https://twitter.com/chanezon/status/1062828331622514689
Erratum on #Corretto Mac install page https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/macos-install.html …
JAVA_HOME
is /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home
not /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/lib/jvm/openjdk8-preview
as stated on the page
cc @arungupta
When installing Oracle Java, there are specific registry keys created which are required for binaries like those created with Launch4J to "find" java. Can Corretto create the same registry keys so it's a drop in replacement on Windows?
Here is an example of the registry keys needed to make Corretto get picked up automatically by Launch4j and other libraries.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8]
"JavaHome"="C:\\Program Files\\Amazon Corretto\\jre8"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Amazon Corretto\\jre8\\bin\\server\\jvm.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_192]
"JavaHome"="C:\\Program Files\\Amazon Corretto\\jre8"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Amazon Corretto\\jre8\\bin\\server\\jvm.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_192\MSI]
"AUTOUPDATECHECK"="0"
"AUTOUPDATEDELAY"=""
"EULA"=""
"FROMVERSION"="NA"
"FROMVERSIONFULL"=""
"FullVersion"="1.8.0_192"
"INSTALLDIR"="C:\\Program Files\\Amazon Corretto\\jre8"
"JAVAUPDATE"="0"
"JU"=""
"OEMUPDATE"=""
"PRODUCTVERSION"="8.0.1920.12"
Thank you for taking the time to help improve OpenJDK and Corretto.
If your request concerns a security vulnerability then please report it by email to [email protected] instead of here.
(You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)
Otherwise, if your idea concerns OpenJDK 8
and is not specific to Corretto 8
we ask that you propose it to the OpenJDK community.
Depending on your contributor status for OpenJDK,
please use the JDK bug system or
the appropriate mailing list
for the given problem area or update project jdk8u-dev.
If your proposal is specific to Corretto 8,
then you are in the right place.
Please proceed with the following.
./configure checks for and fails for not having xcode v4, but the current version of xcode is v10. Why such an old version requirement?
It would be useful to validate against a current xcode, instead of one that nobody would still have lying around on their system.
Please provide a clear and concise description
of any alternative solutions or features you have considered.
Add any other context or screenshots about the feature request here.
Hello there,
I created few week ago the issue #16 to create a .deb package for debian-like system (debian, ubuntu, mint ...).
However, the creation of a ppa repository would allow the people on Ubuntu to have automatic update with apt.
As far as I know, the creation of a launchpad repository is required to have a ppa.
I'm using Ubuntu 18.04 / Kernel 4.15/4.17 on AMD64 architecture.
Thank you,
Jonathan
Some JavaFX features seems to not work in Amazon Corretto.
Not that the same code works in Java Corretto package for MacOS, but not in Corretto Windows/Linux packages
Here is an very simple code to test the issue:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebEngine;
import javafx.stage.Stage;
public class HelloWorld extends Application
{
public static void main(String[] args) {
launch(args);
}
@Override
public void start( Stage primaryStage) {
primaryStage.setTitle("Hello World!");
new WebEngine(); // Lazy load of JavaFX webkit module
Label label = new Label();
label.setText( "Hello World!" );
StackPane root = new StackPane();
root.getChildren().add(label);
primaryStage.setScene(new Scene( root, 300, 250));
primaryStage.show();
}
}
In traces, you can see that javaFX webkit binaries are missing:
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: <java_path>/amazon-corretto-8.192.12.2-linux-x64/jre/lib/amd64/libjfxwebkit.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.webkit.WebPage.lambda$static$0(WebPage.java:131)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.WebPage.(WebPage.java:130)
at javafx.scene.web.WebEngine.(WebEngine.java:881)
at javafx.scene.web.WebEngine.(WebEngine.java:868)
The .jar file cannot be executed by clicking it on Windows. Both Oracle JDK and Zulu can do it.
The Windows installer should associated .jar files with java.exe. Also, it should remove the association during uninstall.
No.
If the .jar files have been previously associated with other programs on the computer, the uninstall process should make its best effort to recover it.
Track the request to support Windows 32bits from Windows 7 and on as asked on https://stackoverflow.com/questions/53420091/amazon-corretto-8-32-bits by https://stackoverflow.com/users/1579823/jose-renato
After uninstall Corretto, default java -version
doesn't work. It shows below message.
Error: Failed reading value of registry key:
Software\JavaSoft\Java Runtime Environment\CurrentVersion
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
Steps and (source) code to reproduce the behavior.
java -version
-> It shows Oracle JRE's version infojava -version
-> It shows Corretto's version infojava -version
-> It shows errorAfter uninstall Corretto, default java command (of Oracle JRE) should work as follows.
>java -version
java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
N/A
OS: Windows 10
Version "build 1.8.0_192-amazon-corretto-preview2-b12"
I think this issue is related to #14 and #15;
And it's applicable to both Windows x86/x64 platform, so it also could be related to #22.
It would be better that Corretto should follows a manner like Azul Zulu.
(Split from #2):
SDKMan! could be used to install Amazon Corretto in parallel to other JDKs on Windows, macOS, and Linux, but it would require Corretto to be distributed as a tar.gz or ZIP archive:
https://github.com/sdkman/sdkman-db-migrations/blob/f92fe573d835706e837485dcf937a923b66fa488/src/main/scala/io/sdkman/changelogs/JavaMigrations.scala#L234-L241
Hello, it would be really great if you provider slim / alpine based corretto base images. Thanks for considering.
Some environments will require Corretto to be installed without necessarily having root access
Document how to install Corretto without root access or implement a feature allowing not to require root access.
We are building a JavaFX application with Maven and creating an installer with FXLauncher and Inno Setup, therefore we are using the Javapackager for this process. Unfortunately we get the following errors:
Bundler Windows Application Image failed because of java.lang.RuntimeException: Not found MSVC dlls
Bundler EXE Installer failed because of java.lang.RuntimeException: Not found MSVC dlls
After testing with Oracle JDK and Azul ZuluFX it may be related to Corretto.
Use the Javapackager for a JavaFX app. Used command:
javapackager -deploy -v -native -outdir target/jfx/native -outfile appName -srcdir target/jfx/app -appclass fxlauncher.HeadlessMainLauncher -name appName -title appTitle -vendor appVendor
The installer should run like Oracle JDK x64: build 1.8.0_192-b12, Oracle JDK x86: build 1.8.0_201-b09 and Azul ZuluFX x64: build 1.8.0_192-b01
OS: Windows 10 Enterprise (x64)
Version: build 1.8.0_192-amazon-corretto-preview-b12 (x64) **and** build 1.8.0_202-b08 (x64)
Our application requires the msvcr100.dll which gets deployed.
Issue was identified in Corretto Windows 32bit msi installers:
With recent changes (#14, #40) the 64 bit Windows MSI installer creates registry entries
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]\Java Development Kit... and
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]\Java Runtime Environment...
which is great for compatibility with Oracle Java installations.
Unfortunately these registry keys are ONLY generated by the 64bit MSI installer, but NOT by the 32bit MSI installer. Problem is reproducable with 8u192-windows-x86.msi and 8u202-windows-x86.msi. Tested with Windows 10 Pro.
It would be great if the Corretto JRE also include IcedTea-Web natively, to ease the transition from Oracle JRE for Java WebStart applications.
IcedTea-Web is developed by RedHat and works on Linux, Windows and possibly also on macOS.
See the same request for AdoptOpenJDK.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.