I need to update java version inside flyway in Ubuntu. I have run apt-get update oracle-java8-installer, but it will update java version for default Java installed. If I running update-alternatives --install /usr/bin/java java /opt/flyway/jre/bin/java 1 it is not updating the java version.

How to do it

  • Which version of Java do you want? – konmal88 Feb 24 '18 at 21:08
  • updated version of java,in my system it is,but i want to update with current version ... – Vikas Kumar Feb 26 '18 at 5:34
  • how to rerun flyway to take upgrade version – Vikas Kumar Feb 26 '18 at 6:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.