Giter Site home page Giter Site logo

corretto / corretto-8 Goto Github PK

View Code? Open in Web Editor NEW
2.1K 2.1K 218.0 216.56 MB

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8

License: GNU General Public License v2.0

Makefile 0.26% HTML 0.73% Shell 1.09% M4 0.10% C 6.66% Java 76.28% Batchfile 0.02% Objective-C 0.39% C++ 11.73% JavaScript 1.24% DTrace 0.04% Assembly 0.04% XSLT 0.20% Lex 0.01% Roff 1.17% Python 0.04% Perl 0.01% Ruby 0.01% Haskell 0.01% CSS 0.01%

corretto-8's People

Contributors

alekseiefimov avatar alvdavi avatar benty-amzn avatar chrishegarty avatar coffeys avatar coleenp avatar erikj79 avatar gctony avatar gnu-andrew avatar hns avatar jddarcy avatar jerboaa avatar jimlaskey avatar jonathan-gibbons avatar kevinjwalls avatar lutkerd avatar martinuy avatar mcimadamore avatar michael-mc-mahon avatar mrserb avatar naotoj avatar prrace avatar rwestrel avatar seanjmullan avatar stefank avatar sundararajana avatar szegedi avatar wangweij avatar xueleifan avatar zhengyu123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corretto-8's Issues

macOS Corretto installer without root access

Is your feature request related to a problem?

Some environments will require Corretto to be installed without necessarily having root access

Describe a solution you would like

Document how to install Corretto without root access or implement a feature allowing not to require root access.

Additional context

screen shot 2018-12-13 at 13 18 19

Provide Homebrew formulas for Corretto

Is your feature request related to a problem?

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?

Describe a solution you would like

Provide versions of the above commands that install Amazon Corretto provided binaries instead of the Oracle ones.

Describe alternatives you have considered

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.

Additional context

N/A

Add the Windows Management Instrumentation data

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.

Open JRE for windows

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.

Windows x64 Preview 2 jarsigner.exe Code Signing Problem

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

Ubuntu 18.04.1 minor compile issues

Describe the bug

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; }
                                                  ~~~~~~^~~~~~~~~~~~~

To Reproduce

  1. Install Ubuntu 18.04.1. (I'm using the Dell Developer-provided version for their XPS line)
  2. Install required dependencies. In my case, most of these were already installed except libcups2-dev and libasound2-dev
  3. cd src; ./configure; make

Expected behavior

Compilation succeeds.

Screenshots

N/A

Platform information

OS: 18.04.1 LTS (Bionic Beaver)
Version: build 1.8.0-internal-dacut_2018_11_24_13_21-b00

Additional context

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

libfreetype.dylib is incorrectly packaged

Describe the bug

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.

To Reproduce

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());
    }
}

Expected behavior

CFontManager initializes successfully and AWT fonts work.

Platform information

OS: macOS 10.14.1 (Mojave)
Version: build 1.8.0_192-amazon-corretto-preview-b12

Additional context

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).

Include IcedTea-Web in Corretto

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.

On Linux Support, Older Versions of GLIBC

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).

Unable to run Talend Open Studio for Data Integration (Win 64)

The bug

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".

To Reproduce

Install Talend Open Studio for Data Integration and start it.

Expected behavior

Work as with HotSpot.

Screenshots

The message as displayed by Windows.
image

Platform information

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)

Additional context

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

File javafx-src.zip missing: source code debugging for OpenJFX not enabled

Describe the bug

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.

Expected behavior

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".

Platform information

All platforms we ship for.

Additional context

Eclipse and Eclipse-installer fail to run when using Corretto 8

Description

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

To Reproduce

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()

Expected behavior

Eclipse and Eclipse-Installer should start when using corretto

Platform information

OS: macOS High Sierra 10.13.6
Version: build 1.8.0_192-amazon-corretto-preview-b12

Easy identification x86/x64 in Apps & Features of Windows

Is your feature request related to a problem?

I have installed both Corretto x86/x64 in Windows.
If I try to uninstall the one (x86 or x64), I can't identify easily.
apps features

Describe a solution you would like

It would be better if Corretto will be added x86/x64 identification like Oracle JDK/JRE like below image.
apps features-java

Describe alternatives you have considered

  • I confirmed the folder's size in Windows Explorer.
  • I use each Corretto x86 or x64 (not install both).
  • I continue to use Oracle JDK/JRE.

Additional context

This request is related to #22 .

javafx_font.dll Error when executing JavaFX tests

Describe the bug

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.

To Reproduce

Try to show() a javafx.scene.Scene with a javafx.stage.Stage

Expected behavior

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

Platform information

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

Additional context

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.

Roadmap page for Corretto

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.

Is your feature request related to a problem?

There is no Wiki or Roadmap page for this project that would describe the short/long term goals of this project.

Describe a solution you would like

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.

Describe alternatives you have considered

I don't see an alternative to this as of now.

Additional context

None.

Windows Defender Reports Virus for New JDK 8.202.08.2 MSI for x86

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

The Windows Installer should set file association for .jar files.

Is your feature request related to a problem?

The .jar file cannot be executed by clicking it on Windows. Both Oracle JDK and Zulu can do it.

Describe a solution you would like

The Windows installer should associated .jar files with java.exe. Also, it should remove the association during uninstall.

Describe alternatives you have considered

No.

Additional context

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.

JAVA_HOME/PATH and empty folder remains after uninstall Corretto x86 and x64

Describe the bug

I uninstalled both Corretto x86/x64 in Windows;
But the JAVA_HOME and PATH environment variable remains, and the installed directory remains empty.

To Reproduce

  1. Install both Corretto x86/x64 in Windows (with default option)
  2. Uninstall both Corretto x86/x64.

Expected behavior

Both JAVA_HOME and PATH (x86/x64) environment will be removed after uninstall.

Screenshots

after-uninstall-java_home path folder

It depends on install/uninstall order.

Platform information

OS: Windows 10
Version "build 1.8.0_192-amazon-corretto-preview2-b12"

Additional context

This issue is related to #15, #22 and #37 .

JavaFX webkit binaries not present in Linux and Windows Java Corretto packages

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)

Default java command (of Oracle JRE) doesn't work after uninstall Corretto 8 for Windows

Describe the bug

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.

To Reproduce

Steps and (source) code to reproduce the behavior.

  1. Install Oracle JRE 8 (with .exe insaller)
  2. java -version -> It shows Oracle JRE's version info
  3. Install Corretto (with default "Add to PATH" option)
  4. java -version -> It shows Corretto's version info
  5. Uninstall Corretto
  6. java -version -> It shows error

Expected behavior

After 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)

Screenshots

N/A

Platform information

OS: Windows 10
Version "build 1.8.0_192-amazon-corretto-preview2-b12"

Additional context

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.

Windows installer should also register key `Java Runtime Environment\1.8`

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

Include Media and Webkit in OpenJFX

Is your feature request related to a problem?

The OpenJFX build bundled in Corretto doesn't include codecs or Webkit

Describe a solution you would like

License and build codecs, build Webkit, and include as part of Corretto

Describe alternatives you have considered

Right now, the alternative is to custom-build my own OpenJFX

javax.imageio.IIOException: Invalid argument to native writeImage

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;
  }
}

Expected behavior

should be able to copy image to clipboard

Screenshots

If applicable, add screenshots to help explain your problem.

Platform information

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)

Are DIZ files needed?

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!

Make Corretto work with webkit if user build it with OracleJDK.

Is your feature request related to a problem?

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

Describe a solution you would like

Make sure Corretto would work with webkit if user decide to build Corretto themselves.

Describe alternatives you have considered

N/A

Additional context

https://stackoverflow.com/questions/54123188/unsatisfiedlinkerror-occurs-on-openjfx-webkit-32bit

Ubuntu Distribution : PPA Repository

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

Debian Package distribution

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

Java enhanced runtime class reloading

Is your feature request related to a problem?

No.

Describe a solution you would like

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.

Describe alternatives you have considered

https://zeroturnaround.com/software/jrebel/ doing this hard part with lot of price.

Additional context

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

Update java.vendor/java.vm.vendor

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 build requires xcode v4 on MacOS

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.

Is your feature request related to a problem?

./configure checks for and fails for not having xcode v4, but the current version of xcode is v10. Why such an old version requirement?

Describe a solution you would like

It would be useful to validate against a current xcode, instead of one that nobody would still have lying around on their system.

Describe alternatives you have considered

Please provide a clear and concise description
of any alternative solutions or features you have considered.

Additional context

Add any other context or screenshots about the feature request here.

Windows 32bit msi Installer does not add standard registry keys

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.

Javapackager fails to load DLLs

Describe the bug

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.

To Reproduce

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

Expected behavior

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

Platform information

OS: Windows 10 Enterprise (x64)
Version: build 1.8.0_192-amazon-corretto-preview-b12 (x64)  **and**  build 1.8.0_202-b08 (x64)

Additional context

Our application requires the msvcr100.dll which gets deployed.

Corretto-8 Preview JDK RPM, Appears to be just a JRE

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

Support distribution via tar.gz/ZIP archives

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.

No JRE package for Linux x64, only for Amazon Linux 2

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.

Support for Solaris

In all the documentation there is nothing about Solaris.

So please support Solaris as a plattform for the Coretto-OpenJDK (or update the documentation).

Corretto macOS installer - AWS logo is partially hidden

Describe the bug

Corretto macOS installer - AWS logo is partially hidden

To Reproduce

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.

Expected behavior

AWS logo fully visible

Screenshots

screen shot 2018-12-13 at 13 18 06

Platform information

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)

JAVA_HOME has trailing backslash - amazon-corretto-preview2-8u192-windows-x64.msi

Describe the bug

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\

To Reproduce

Install preview2 with default setup

Expected behavior

JAVA_HOME has no trailing backslash
JAVA_HOME C:\Program Files\Amazon Corretto\jdk1.8.0_192

Platform information

OS: Windows
Version build 1.8.0_192-amazon-corretto-preview2-b12

Enhance Installer to add standard registry keys on Windows for compat

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"

Distribute via Maven repo

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.

Provide a portable Linux binary

(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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.