1
[FIX]Java 7 on Mac Fix [For Java 7 plugins]
I'm not sure if anyone else has experienced this, but when using Terminal to run a server on a Mac, it uses Java 6 instead of Java 7.
Because of this, some Java 7 plugins would not work.
The reason for this is because Apple releases its own Java independent of Oracle. Even if you download and install Java 7, you need to force Terminal to use Java 7 since Terminal uses Java 6 Apple instead of Java 7 Oracle by default.
By forcing Terminal to use Java 7, the server should also use it assuming you open it in terminal.
To do this, you only need to do some simple command line code. I recommend turning your server and minecraft off before you do this just in case.
Hope I helped someone with this issue! Have fun with Java 7 server plugins u-u
Because of this, some Java 7 plugins would not work.
The reason for this is because Apple releases its own Java independent of Oracle. Even if you download and install Java 7, you need to force Terminal to use Java 7 since Terminal uses Java 6 Apple instead of Java 7 Oracle by default.
By forcing Terminal to use Java 7, the server should also use it assuming you open it in terminal.
To do this, you only need to do some simple command line code. I recommend turning your server and minecraft off before you do this just in case.
- -First, open a new window in Terminal. type
java -version- and hit enter.
- -It should read this if you have Java 7 installed:
java version "1.7.0_x"
Java(TM) SE Runtime Environment (build 1.7.0_x-bx)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)- -However, if Java 6 is installed, you will see "java version 1.6.0_x" instead of "1.7.0_x"
- -If this is the case, simply type/copy-paste
sudo ln -fs /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java- .
- -Before running your server again, do java -version to see if the version changed. If not, try something else.
Hope I helped someone with this issue! Have fun with Java 7 server plugins u-u
