zwei, I made some modifications to soundSense.sh that make it work on OS X. Save it as soundSense.command so that Mac users can double-click on it to launch. It might also fix the problems that vlademir1 was having.
This version:
- includes the proper interpreter directive to identify the file as a script (#!/bin/sh)
- changes the working directory to the directory the script is in (allowing double-clicking on the file in OS X, and probably also running it from other directories from the shell)
- and has soundSense.jar at the beginning of the classpath, rather than the end (this makes it work on my machine for some reason)
Ah, thanks, ill include that in next version.
I tried all this, no help. At least it seems to help you on Mac, which I give big props for being BSD based despite my feelings on the companies business model and practices (which really have no place on these forums )
It complains about lacking one of libraries (which definitelly should be included). Somehow, stuff that is in lib directory is ignored.
You could try changing lib to ./lib to make sure it is looking in correct directory.
Your java might use different separator for classpath (in windows, it is separated by ";", in unixes it should be ':', you could try replacing :s with ;s).
You could also run it directly as
java -Djava.util.logging.config.file=logging.properties -cp soundSense.jar:lib/MP3SPI/mp3spi1.9.4.jar:lib/MP3SPI/jl1.0.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/freetts-1.2/freetts.jar cz.zweistein.df.soundsense.SoundSense
(yeah, it is one long line)