![]() Image is Ubuntu 18.04, to be specific ubuntu/images/hvm-ssd/ubuntu-bionic-18. Download Java Java 8, Java 11, Java 17, Java 20 - OpenJDK Builds for Linux, Windows & macOS Liberica JDK Download Center Liberica JDK is even better with Alpaquita Linux Take full advantage of the cloud by utilizing containers with Liberica JDK and Alpaquita, the only Linux optimized to run Java services. Manually Installing OpenJDK Log in to each host and run the command for the version of the JDK you want to install: RHEL: OpenJDK 8 Tune the JDK (OpenJDK 11. I've fund quite a few results searching but they all reference the now obsolete methods for using the Oracle builds etc, but I cant find anything specific to this issue ![]() ![]() Perfect - that worked, so now to put this into my ansible playbook, looks something like this: - name: Update all Ubuntu packagesīut when ansible runs, it errors out with: amazon-ebs: TASK *******************************Īmazon-ebs: fatal: : FAILED! => Īmazon-ebs: to retry, use: -limit yes, the fresh image I launched to test is exactly the same AMI image ID/Build that ansible is also launching You can use sdkman to install java8 Docker file content as given below: RUN apt-get update & apt-get install -y curl zip unzip RUN curl -s bash RUN /bin/bash -c 'source HOME/.sdkman/bin/sdkman-init.sh sdk version sdk install java 8.0.302-open sdk install maven 3.8. So here's my scenario - I launched a fresh ubuntu image from AWS and the first thing I did apt-get update So I am trying to setup an Ubuntu host using ansible and one of my requirements is to use java8Īfter researching a lot of discovering the various deprecation posts about the oracle PPA etc, I settled on installing openjdk-8-jdk ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |