For people having trouble with linux not launching soundsense, try this:
Edit the soundSense.sh file and change both following lines
aoss java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
to this:
aoss java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense -jar soundSense.jar
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense -jar soundSense.jar
I'm on Arch, using java 10 (jre10-openjdk).
I also had trouble with the .sh file not being read as valid .sh file (unexpected end of file error). This was circumvented by just keeping the following lines (your installation may require some changes here) and deleting the rest, then running the script from inside the SS folder:
CLASSPATH='soundSense.jar:lib/MP3SPI/mp3spi1.9.5.jar:lib/MP3SPI/jl1.0.1.jar:lib/OGGSPI/jogg-0.0.7.jar:lib/OGGSPI/jorbis-0.0.15.jar:lib/OGGSPI/vorbisspi1.0.3.jar:lib/tritonus_share.jar:lib/autoUpdater.jar:lib/jansi-1.8.jar:lib/commons-codec-1.4/commons-codec-1.4.jar'
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense -jar soundSense.jar