Raspbian new install - Java issues

Need help? Post your questions here.
Eserim
Posts: 1
Joined: 25 Jan 2019, 22:01
Has thanked: 0
Been thanked: 0

Raspbian new install - Java issues

Unread post by Eserim »

OK - I have followed various instructions, including this "installing-oracle-java-jdk-8-on-raspberry-pi " on "raspinews<dot>com" - sorry can't post links as noob on forum

When I use

java -version

I get
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)
Yet when I try to install Madsonic server 6, I get
dpkg: dependency problems prevent configuration of madsonic:
madsonic depends on default-jre | default-jre-headless | openjdk-8-jre-headless | openjdk-7-jre-headless | openjdk-7-jre | openjdk-8-jre; however:
Package default-jre is not installed.
Package default-jre-headless is not installed.
Package openjdk-8-jre-headless is not installed.
Package openjdk-7-jre-headless is not installed.
Package openjdk-7-jre is not installed.
Package openjdk-8-jre is not installed.

dpkg: error processing package madsonic (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u6) ...
Errors were encountered while processing:
Have I missed something crucial somewhere.

Cheers

Eserim
JoeCain
Posts: 2
Joined: 04 Apr 2018, 19:18
Has thanked: 0
Been thanked: 0

Re: Raspbian new install - Java issues

Unread post by JoeCain »

Found some stuff here. Give these a shot: https://www.raspberrypi.org/forums/view ... p?t=197824
carltonh
Posts: 11
Joined: 09 Mar 2014, 06:24
Has thanked: 0
Been thanked: 3 times

Re: Raspbian new install - Java issues

Unread post by carltonh »

I got Madsonic running in Raspbian on a Raspberry Pi 3 working great using the openjdk-8-jre package, so I think that is preferable to the extra steps of adding Oracle Java. Note that I skipped Madsonic 6 and am using Madsonic 7, but I doubt that matters.

Also, this Subsonic guide helped me fix transcoding issues, mainly replace "subsonic" with "madsonic" and the process is the same.
http://pmdzsite.online.fr/index.php?article17/subsonic-on-raspberry-pi-3
Post Reply