Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No java message - installing on raspberry pi
15-02-2020, 17:10
Post: #1
No java message - installing on raspberry pi
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
Find all posts by this user
Quote this message in a reply
15-02-2020, 18:04
Post: #2
RE: No java message - installing on raspberry pi
(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
Find all posts by this user
Quote this message in a reply
15-02-2020, 18:59
Post: #3
RE: No java message - installing on raspberry pi
(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?
Find all posts by this user
Quote this message in a reply
15-02-2020, 19:35
Post: #4
RE: No java message - installing on raspberry pi
Try this:

sudo apt install default-jdk
Find all posts by this user
Quote this message in a reply
15-02-2020, 21:16
Post: #5
RE: No java message - installing on raspberry pi
(15-02-2020 19:35)simoncn Wrote:  Try this:

sudo apt install default-jdk

Many thanks, Simon.
That has fixed it.

Philip
Find all posts by this user
Quote this message in a reply
15-02-2020, 21:50
Post: #6
RE: No java message - installing on raspberry pi
Apologies for the out-of-date instructions on the web page. I have fixed them now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)