open2jamorg / open2jam

open source o2jam emulator
open2jam.wordpress.com
Artistic License 2.0
109 stars 40 forks source link

Request: Add Java 6 executable script for Mac OSX/macOS #42

Closed Agrrox closed 3 years ago

Agrrox commented 7 years ago

New operating systems on macOS uses Java 8. In order to run open2jam on mac you need to install java6 sdk from Apple. After this it still wont open it with Java 6. So I decided to write this script that point it to default installation path of java6 jvm to launch open2jam. note: script must be in same directory with .jar file.

#!/bin/bash
cd "$(dirname "$0")"
exec /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -jar open2jam.jar