We're updating the issue view to help you get more done. 

Java8 is not available from Oracle, preventing Mifos Installation

Description

Hi,

I'm trying to install a new instance of MifosX on a fresh Ubuntu server (14.04, as requested on doc : https://mifosforge.jira.com/wiki/spaces/docs/pages/74711072/Mifos+X+Installation+on+Linux+-+Ubuntu+Server ).

The process fails with the following message :
sudo apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils gsfonts gsfonts-x11 java-common libfontenc1 libxfont1
oracle-java8-set-default x11-common xfonts-encodings xfonts-utils
Suggested packages:
binutils-doc default-jre equivs binfmt-support visualvm ttf-baekmuk
ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic
ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming firefox firefox-2
iceweasel mozilla-firefox iceape-browser mozilla-browser epiphany-gecko
epiphany-webkit epiphany-browser galeon midbrowser moblin-web-browser
xulrunner xulrunner-1.9 konqueror chromium-browser midori google-chrome
The following NEW packages will be installed:
binutils gsfonts gsfonts-x11 java-common libfontenc1 libxfont1
oracle-java8-installer oracle-java8-set-default x11-common xfonts-encodings
xfonts-utils
0 upgraded, 11 newly installed, 0 to remove and 6 not upgraded.
Need to get 6,446 kB of archives.
After this operation, 19.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.service.networklayer.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]
Get:2 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.4 [95.1 kB]
Get:3 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.2 [2,076 kB]
Get:4 http://mirrors.service.networklayer.com/ubuntu/ trusty/main java-common all 0.51 [130 kB]
Get:5 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-installer all 8u171-1~webupd8~1 [32.8 kB]
Get:6 http://mirrors.service.networklayer.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
Get:7 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-set-default all 8u171-1~webupd8~1 [6,874 B]
Get:8 http://mirrors.service.networklayer.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB]
Get:9 http://mirrors.service.networklayer.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
Get:10 http://mirrors.service.networklayer.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB]
Get:11 http://mirrors.service.networklayer.com/ubuntu/ trusty/main gsfonts-x11 all 0.22 [9,108 B]
Fetched 6,446 kB in 0s (9,880 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libfontenc1:amd64.
(Reading database ... 52587 files and directories currently installed.)
Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ...
Unpacking libfontenc1:amd64 (1:1.1.2-1) ...
Selecting previously unselected package libxfont1:amd64.
Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.2_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.2) ...
Selecting previously unselected package java-common.
Preparing to unpack .../java-common_0.51_all.deb ...
Unpacking java-common (0.51) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Selecting previously unselected package oracle-java8-installer.
(Reading database ... 52829 files and directories currently installed.)
Preparing to unpack .../oracle-java8-installer_8u171-1~webupd8~1_all.deb ...
Unpacking oracle-java8-installer (8u171-1~webupd8~1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Setting up java-common (0.51) ...
Setting up oracle-java8-installer (8u171-1~webupd8~1) ...
No /var/cache/oracle-jdk8-installer/wgetrc file found.
Creating /var/cache/oracle-jdk8-installer/wgetrc and
using default oracle-java8-installer wgetrc settings for it.
Downloading Oracle Java 8...
--2018-07-18 10:32:46-- http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 172.227.86.219
Connecting to download.oracle.com (download.oracle.com)|172.227.86.219|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz [following]
--2018-07-18 10:32:46-- https://edelivery.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 172.226.219.176, 2a02:26f0:eb:185::2d3e, 2a02:26f0:eb:18d::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|172.226.219.176|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz?AuthParam=1531910087_dbede083ab5c8ec680b4e250085d304d [following]
--2018-07-18 10:32:47-- http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz?AuthParam=1531910087_dbede083ab5c8ec680b4e250085d304d
Connecting to download.oracle.com (download.oracle.com)|172.227.86.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-18 10:32:48 ERROR 404: Not Found.

download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

2 questions :

  • Is Java8 the only supported version for MifosX?

  • Is (Will) Ubuntu 18.04 supported?
    Thanks for your help. Regards. Olivier.

Status

Assignee

Olivier Chamberaud

Reporter

Olivier Chamberaud

Labels

None

Priority

Blocker