Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Tutorial Ninja Fix for Mac Users with JDK issues

Joined
Nov 12, 2018
Messages
4
Issue's for people using Tutorial - RuneMate on Linux

Here's my monologue.Bug - Non-numeric value found - int expected - Macbook Pro '17

FIX:
I updated JavaSE and then Installed JDK8, i then added this to my .bash_profile in my home folder
Code:
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8)
export JAVA_10_HOME=$(/usr/libexec/java_home -v10)
export JAVA_11_HOME=$(/usr/libexec/java_home -v11)

alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java10='export JAVA_HOME=$JAVA_10_HOME'
alias java11='export JAVA_HOME=$JAVA_11_HOME'

java11

then whenever you need to do ./runemate.sh do
Code:
java8

Happy botting.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Good fix for those on Mac who want to use multiple JDKs (y)
Normally the installer would take care of java, but unfortunately install4j broke on Mojave
 
Joined
Nov 12, 2018
Messages
4
Good fix for those on Mac who want to use multiple JDKs (y)
Normally the installer would take care of java, but unfortunately install4j broke on Mojave

Thank's man, hopefully get a quick stickie so nobody has to search intensively! :rolleyes:
 
Top