btothec...we can use some applescript to open a new firefox window. Also, the port # can be specified via the first argument...example:
$ ./pandora.sh 8000
#!/bin/bash
port=$1
if [ ! $port ]; then
port=8085
fi
export TEMP=`echo ~`/Library/Caches/TemporaryItems
java -jar pandora.jar $port&
# make sure java has enough time to launch
sleep 5
osascript -e "tell application "Firefox"" -e "Get URL "http://localhost:$port"" -e "end tell"