3

I am trying to install the following software on my debian jessie machine

root@www:~$ sudo update-alternatives --config java
[sudo] password for root:
There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-7-oracle/jre/bin/java         1082      auto mo                                       de
  1            /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java   1071      manual                                        mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java         1082      manual                                        mode
  3            /usr/lib/jvm/java-8-oracle/jre/bin/java         1081      manual                                        mode

Press enter to keep the current choice[*], or type selection number: 0

When I want to install the software I get:

> sudo ./install.sh
Your version of Java is not supported.
Please update your Java to version 1.8 or newer to be able to use the software on your computer.

Any suggestions why I do not find the proper java version?

closed as off-topic by Michael Homer, countermode, GAD3R, Archemar, mdpc Feb 15 '17 at 21:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Michael Homer, countermode, GAD3R, Archemar, mdpc
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Choice number 3 looks promising, as 1.8 likely corresponds to java 8 (blame the Sun marketing department for that version number bump?) – thrig Feb 15 '17 at 15:37
  • Anti-oracle conspiracy, obviously. – corsiKa Feb 15 '17 at 18:21
  • Delete your outdated and probably unsupported Java 7. – Martin Schröder Feb 15 '17 at 21:24
15

The software you're installing is looking for Java 1.8, also known as Java 8. You need to pick choice 3 in the alternatives configuration.

Not the answer you're looking for? Browse other questions tagged or ask your own question.