Support > Cant play on Raspberry Pi

Cant play on Raspberry Pi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #660
    mourningsun75
    Participant

    java version “1.7.0_65”
    OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-2~deb7u1+rpi1)
    OpenJDK Zero VM (build 24.65-b04, mixed mode)

    Play
    Exception in thread “SpeakerPlaybackThread” java.lang.NoClassDefFoundError: Could not initialize class org.classpath.icedtea.pulseaudio.EventLoop
    at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:654)
    at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
    at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
    at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
    at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94)
    at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
    at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:290)
    at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:51)
    at com.soundseeder.speaker.g.a(Unknown Source)
    at com.soundseeder.speaker.g.run(Unknown Source)

    #661
    mourningsun75
    Participant

    With Oracle JDK it works!

    #662
    jekapps
    Keymaster

    Hey mourningsun.

    This looks like your Java Runtime is not able to access your audio engine.

    Can you switch to the Oracle JDK instead of the OpenJDK?

    My raspian had this preinstalled, but you should be able to switch it this way:
    sudo apt-get install oracle-java7-jdk

    sudo update-java-alternatives -s jdk-7-oracle-armhf

    #663
    jekapps
    Keymaster

    Ok, great you were faster! 😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.