MinimServer Forum
No java message - installing on raspberry pi - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: No java message - installing on raspberry pi (/showthread.php?tid=5527)



No java message - installing on raspberry pi - PhilE - 15-02-2020 17:10

Hi
I'm setting up minim server on raspberry pi using RPi 3B+ with raspbian buster lite (dowloaded today). Assumed java already part of that but:

command java -version gets response -bash: java: command not found54:
and
command minimserver/bin/startc response is java: not found

Can anyone help me with the installation?

Thanks in advance

Philip


RE: No java message - installing on raspberry pi - stefano_mbp - 15-02-2020 18:04

(15-02-2020 17:10)PhilE Wrote:  Hi
I'm setting up minim server on raspberry pi using RPi 3B+ with raspbian buster lite (dowloaded today). Assumed java already part of that but:

command java -version gets response -bash: java: command not found54:
and
command minimserver/bin/startc response is java: not found

Can anyone help me with the installation?

Thanks in advance

Philip

Try this

sudo apt-get install oracle-java8-jdk

as described here https://minimserver.com/install-raspbian.html


RE: No java message - installing on raspberry pi - PhilE - 15-02-2020 18:59

(15-02-2020 18:04)stefano_mbp Wrote:  
(15-02-2020 17:10)PhilE Wrote:  Hi
I'm setting up minim server on raspberry pi using RPi 3B+ with raspbian buster lite (dowloaded today). Assumed java already part of that but:

command java -version gets response -bash: java: command not found54:
and
command minimserver/bin/startc response is java: not found

Can anyone help me with the installation?

Thanks in advance

Philip

Try this

sudo apt-get install oracle-java8-jdk

as described here https://minimserver.com/install-raspbian.html
Thanks.
I did try that but have given it another go. Got the same response:

Package oracle-java8-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'oracle-java8-jdk' has no installation candidate

Tried rebooting. Still get same message.

Should I uninstall Minimserver and then use

sudo apt-get install oracle-java8-jdk

befor re-installing Minimserver?


RE: No java message - installing on raspberry pi - simoncn - 15-02-2020 19:35

Try this:

sudo apt install default-jdk


RE: No java message - installing on raspberry pi - PhilE - 15-02-2020 21:16

(15-02-2020 19:35)simoncn Wrote:  Try this:

sudo apt install default-jdk

Many thanks, Simon.
That has fixed it.

Philip


RE: No java message - installing on raspberry pi - simoncn - 15-02-2020 21:50

Apologies for the out-of-date instructions on the web page. I have fixed them now.