How do I update Java on Amazon Linux?

How do I update Java on Amazon Linux?
Answer
Instructions:
  1. Manage Jenkins.
  2. Configure System.
  3. Amazon EC2 section.
  4. Go through your AMIs / build node configurations.
  5. Prepend the Init script fields with this: sudo yum install -y java-1.8.0-openjdk.x86_64. sudo /usr/sbin/alternatives –set java /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java.
4 июл. 2017 г.
 

Tìm kiếm

Back
Top