Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Sound with Minim no longer works

$
0
0
Download the Oracle official jdk and replace the processing java directory with it this will fix the sound problem. But If you export your application as a linux app then to make it work you will have to install the official Oracle jdk and jre to your system.

You could do something like this:
1) download the files

2) In the same directory where the files are  execute this commands
export JDKfile="jdk-7u15-linux-i586.tar.gz"
export JREfile="jre-7u15-linux-i586.tar.gz"
export JDK="jdk1.7.0_15"
export JRE="jre1.7.0_15"
export INSTDIR="/usr/lib/jvm"

sudo tar -xvzf $JDKfile -C $INSTDIR
sudo tar -xvzf $JREfile -C $INSTDIR

# Updating
sudo update-alternatives --install "/usr/bin/java" "java" "$INSTDIR/$JRE/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "$INSTDIR/$JDK/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "$INSTDIR/$JRE/bin/javaws" 1
sudo update-alternatives --set java $INSTDIR/$JRE/bin/java
sudo update-alternatives --set javac $INSTDIR/$JDK/bin/javac
sudo update-alternatives --set javaws $INSTDIR/$JRE/bin/javaws


Viewing all articles
Browse latest Browse all 1768

Trending Articles