Comments (9)
@lordbuddha they inverted the JRE and JDK links 🤦♂️ https://twitter.com/BriceDutheil/status/1065624528204824576
from corretto-8.
Thank you for spotting and reporting it! This needs to be fixed.
from corretto-8.
Yes, as pointed out the links are just the wrong way around. But that is not all.
If we look at the relative sizes of each of the 4 downloads, we see that the "devel" (i.e. the JDK) RPM is smaller that the JRE.... Neat magic trick if achieved.
:~/Downloads$ ls -lh *.rpm *.pkg *.msi
92M Nov 27 13:09 Amazon-Corretto-preview-8u192.msi
383K Jul 12 14:46 ca-certificates-2018.2.24-5.fc29.noarch.rpm
103M Nov 27 13:09 corretto-jdk-8u192-macosx-x64.pkg
39M Nov 27 13:08 java-1.8.0-amazon-corretto-1.8.0_192.b12-1.amzn2.x86_64.rpm
35M Nov 27 13:08 java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
Apparently (and I did see this somewhere else), to get the JDK you need to install both RPMs.
This seems a quite strange way of doing things.
from corretto-8.
@lordbuddha That's what I thought at first, but the two download are actually a way of packaging, the JRE can be a standalone install, but the JDK depends on the JRE.
> rpm -qpR java-1.8.0-amazon-corretto-devel-1.8.0_192.b12-1.amzn2.x86_64.rpm
...
java-1.8.0-amazon-corretto(x86-64) = 1:1.8.0_192.b12-1.amzn2
...
This works if one is using a package manager like yum
. But if you download the files you basically have to check the dependencies yourself.
However I agree the site is misleading in that regard.
from corretto-8.
@lordbuddha, @bric3 - Thanks for your input. We have chosen to package Corretto for Amazon Linux 2 following its packaging conventions and, as you state, the -devel package depends on the base amazon-corretto to make a full JDK when installed together. We will make a note to clarify this in the next revision of the documentation.
from corretto-8.
@davecurrie Your decision makes sense for RPM (or deb when they will be available) because the documented way to install them rely on yum
and the extras repo already configured for Amazon Linux. But as binary download it comes as a surprise, because there's no documentation.
At least with Java 11 we won't need the JRE ;)
from corretto-8.
I for one will miss the JRE only distribution in Java 11 and onwards.
We run all our production systems on a JRE.
from corretto-8.
The downloads page at https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html has been updated with the Linux packages pointing to the right artifacts. Keeping this issue open for a few more days until we expand the install documentation to explain the roles of the two RPM packages.
from corretto-8.
The documentation at https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/amazon-linux-install.html has also beel updated to reflect that the JRE package needs to be installed for the JDK package to work correctly.
from corretto-8.
Related Issues (20)
- Correto 8 usage error HOT 1
- JVM crash HOT 4
- java.lang.NoClassDefFoundError: sun.font.SunFontManager exception when moving from oracle jdk 8 to corretto jdk 1.8.0_362. HOT 9
- A fatal error has been detected by the Java Runtime Environment HOT 7
- A fatal error has been detected by the Java Runtime Environment HOT 3
- Java Corretto on workstations - Enterprise configuration HOT 1
- corretto version reports vulnerabilities in nessus scan. HOT 1
- Visual Studio C++ Redistributable has known EOL HOT 2
- crash during pyspak runing HOT 1
- Maven needs JAVA_HOME set to: /usr/lib/jvm/java-1.8.0-amazon-corretto/jre HOT 7
- jfxwebkit.dll cannot load HOT 1
- Can you help me? HOT 1
- OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05) not adaper version when called HCCore.dll HOT 3
- Port JDK-8259943 to Java 8
- JVM crushed HOT 6
- SIGSEGV (0xb) at pc=0x4c8d4804e0c148f6, pid=46732, tid=0x00007faba7690700 HOT 7
- Regression: MSVC DLLs not found when using Javapackager with Corretto 8 versions after 8.372.07.1 HOT 1
- java.nio.Files.readAttributes() truncates file timestamps HOT 4
- JVM crashes on Windows when using JNI to call a C++ dll using a mutex HOT 1
- core dump on System.exit(0); HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corretto-8.