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
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.