MinimServer Forum

Full Version: No java message - installing on raspberry pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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
(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?
Try this:

sudo apt install default-jdk
(15-02-2020 19:35)simoncn Wrote: [ -> ]Try this:

sudo apt install default-jdk

Many thanks, Simon.
That has fixed it.

Philip
Apologies for the out-of-date instructions on the web page. I have fixed them now.
Reference URL's