-
Notifications
You must be signed in to change notification settings - Fork 9
Description
QE by @judovana
1.2. Installing the Java Development Kit with the archive bundle on Red Hat Enterprise Linux
Download the JDK ZIP bundle of OpenJDK 11 for Windows.
- why should customer download windows binary zip for RHEL? They should be able to use normal JDK tarballs we provide…. (I am unable to access that binary via the portal, but I assume the link is correct). By the way, are you sure about the zips? As far as I know, we provide tarballs, not zips for RHEL.
Step 4:
This does not work as you expect. If you append your links at the end of path variable, you are risking, your “javac -version” command to return the default jdk instead of the tarball installed jdk, if you use it like this, because you are appending it in the path input (entering it at the end). If there is a java installed (any java), the output will be taken from the system java (or any other link you put there in the meantime).
Customers should be aware, what the path command does and that they are messing with system settings they need to know how to reverse.
Step 5.
This will pick up whatever jdk is default, which could be 11, but also could be ojdk8.
Step 6.
In order to persist the PATH variable setting use these instructions: <add-link-to-RHEL-bashrc-path-link>
Missing link I assume?
Step 8.
Why are you unpacking the JDK in home and then assign the variable from the /opt/? Won’t the directory be empty? Or shouldn’t you unpack it in opt if you want to link it from opt?
In general, this setting of JAVA_HOME variable applies also to our packages, they do not export this variable either afaik