skip to Main Content

I want to download Java version "1.6.0_36" in CentOS. I tried sudo yum install java-1.6.0-openjdk, but it returned Java version 1.6.0_41. How do I install a specific version?

Can it be downloaded from the terminal directly?

2

Answers


  1. You can download here and search for Java SE Runtime Environment 6u41

    Login or Signup to reply.
  2. You can install a specific version hosted from CentOS archive server.

    1. Update first elrepo, to make sure that you will have the latest RPM repository for CentOS.
    sudo yum update elrepo
    
    1. Then install the specific version from CentOS archive.
    sudo yum install https://buildlogs.centos.org/c7.01.u/java-1.6.0-openjdk/20150730180723/1.6.0.36-1.13.8.1.el7_1.x86_64/java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el7_1.x86_64.rpm
    

    Note: This server contains a mix of raw/unsigned packages and/or build logs.
    It should be used mainly for testing purposes.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search