java issue while bahmni installation process

Hi @andrewbhandari, same here!

I think this related to the Oracle Java 8 download URL used in Bahmni installer that is not valid anymore.

  • Java 8 is now available as u131b11. And I believe that makes u101b13 not available for download anymore (TBC)
  • Oracle has changed their download URL pattern by adding “d54c1d3a095b4ff2b6607d096fa80163” in the middle of it

So to make this work, you can edit the Java installation variable file, ie /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/defaults/main.yml, and replace java_version, java_build and java_download_url by the following:

java_version: 8u131
java_build: b11
[...]
java_download_url: "http://download.oracle.com/otn-pub/java/jdk/{{java_version}}-{{java_build}}/d54c1d3a095b4ff2b6607d096fa80163/{{ java_rpm_name }}"

Save the file and you can restart the install (bahmni -i local install).

Note: If the Bahmni team can confirm that this is indeed the correct way to solve this problem, I am happy to do the PR.

1 Like