So I recently ran into some technical difficulties with a certain mod that for whatever reason needs java 7 to work without crashing. The page they sent me to in response to the bug report I submitted was a maze at best, and even when I did eventually find the proper commands to get minecraft to work when I attempted to use them it completely ruined my minecraft install.
Basically I'm going to need (in layman's terms) is step by step instructions on how to get minecraft to work with java 7.
And please, if possible put the commands in some sort of plain text such as pastebin so copy/paste-ing wont be an issue
EDIT: oh and also I'll need to do the same for a server I'm hosting for my friend and I, so if theres a difference process please include it.
I've run into a slight problem with your tutorial. The command to find the java home is only showing up what I believe is the java 6 directory, since thats the directory minecraft is currently using for java. Heres the exact result (snipped name of computer):
"snip"-MacBook-Pro:~ Wrothmonk$ /usr/libexec/java_home -v 1.7
Unable to find any JVMs matching version "1.7".
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
I've already tried installing java 7 but that didn't seem to changed anything.
When you open the launcher, hit Edit Profile, on your desired selected profile and point the java exectuable to the java 7 folder.
While helpful, that doesn't give me anything new to work on. Pandawan already gave me instructions for the same thing and actually attempted to give me direction to finding the java 7 executable.
If you or anyone else wants to contribute to the discussion, I ask that you please add something new.
Most of the developer type stuff (app support, java, stuff that if messed with would cause major problems) is hidden from a spotlight search. Also as I stated before according to Pandawan's command only java 6 shows up. I find that confusing since according to the java control panel I am running java 7.
Open a finder window type in java into the search box, below where it says search, hit This Mac, and below where it has a dropdown menu that says Kind, change that to Others. A menu will pop up. Check include system files into the search. Hit Done. Select System Files <> Are Included. Scroll down to J. Should look something like this:
Alright, well I've done that and scrolled to about the same place and there still is only a 1.6 jdk. I'm beginning to wonder if I somehow managed to get something where it was only the plugin for browsers installed and not the whole thing. If thats even a possibility.
Hang on, JDK, thats the development kit, I've just got the runtime environment. Is that what I've been missing, do I need the developer kit to run minecraft with java 7?
EDIT: just installed the JDK for java 7. So far it seems to have worked and I've gotten the proper file path, although I did have to add /bin/java to the end of what the command returned.
Yes you need JDK if you're going to run java 7 and up MC on the mac. You're also going to have to run it from a terminal window although you can make it into an automator script with an icon later on but you won't be able to use the default Minecraft icon which is linked to java 6 and which Mojang refuses to update for some reason which I've had explained to me but which I've forgotten promptly after.
I use:
java -d64 -jar //Applications/Minecraft.app/Contents/Resources/Java/Bootstrap.jar
Yes you need /bin/java after the path I've given you. I've given you the folder where all the different java version folders will be placed, and then you go within to link to your desired java version depending on which version of the game you're running. Some will require java 7 (1.7.2 and earlier) and for 1.7.10 forge has been updated to work with java 8 (at least, the latest versions).
You actually don't need to use a terminal or a script, if you followed my tutorial on the page, you could have seen that on the edit profile window, you can change your path to the path you want, for example, with java 7 update 67 (which is not up to date) , you would have putted this:
in the Executable under the Java Settings (advanced) tab, so the launcher would launch in java 6, but the game would be java 7...
It's better because you don't have to run a script...
Basically I'm going to need (in layman's terms) is step by step instructions on how to get minecraft to work with java 7.
And please, if possible put the commands in some sort of plain text such as pastebin so copy/paste-ing wont be an issue
EDIT: oh and also I'll need to do the same for a server I'm hosting for my friend and I, so if theres a difference process please include it.
And where is your java located ? If you don't know, don't try... I'll search myself
I am most likely inactive on this account! If you want to contact me, here's my Twitter @PandawanYT.
Check out my website!
So close to releasing my new map! Gonna beta test it next week... Probably coming out in two weeks! Follow My Twitter for more info!
Not exactly sure where my java is located.
For servers, do this:
1. Open Text Edit
2. Copy and paste this in it:
If you want it top open with terminal only:
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -XX:MaxPermSize=128m -jar SERVERNAME.jar nogui
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -XX:MaxPermSize=128m -jar SERVERNAME.jar
3. Then, go on format, use plain text (or something like that)
4. Save it as Start.command
5. Double click it!
I am most likely inactive on this account! If you want to contact me, here's my Twitter @PandawanYT.
Check out my website!
So close to releasing my new map! Gonna beta test it next week... Probably coming out in two weeks! Follow My Twitter for more info!
I've already tried installing java 7 but that didn't seem to changed anything.
While helpful, that doesn't give me anything new to work on. Pandawan already gave me instructions for the same thing and actually attempted to give me direction to finding the java 7 executable.
If you or anyone else wants to contribute to the discussion, I ask that you please add something new.
Or just use spotlight and search for jdk. Kinda thought you'd know that on a mac.
http://i922.photobucket.com/albums/ad69/zohar101/ScreenShot2014-11-06at33555PM_zps3c9b5e9c.png
I'm beginning to wonder if I somehow managed to get something where it was only the plugin for browsers installed and not the whole thing. If thats even a possibility.Hang on, JDK, thats the development kit, I've just got the runtime environment. Is that what I've been missing, do I need the developer kit to run minecraft with java 7?
EDIT: just installed the JDK for java 7. So far it seems to have worked and I've gotten the proper file path, although I did have to add /bin/java to the end of what the command returned.
I use:
java -d64 -jar //Applications/Minecraft.app/Contents/Resources/Java/Bootstrap.jar
Yes you need /bin/java after the path I've given you. I've given you the folder where all the different java version folders will be placed, and then you go within to link to your desired java version depending on which version of the game you're running. Some will require java 7 (1.7.2 and earlier) and for 1.7.10 forge has been updated to work with java 8 (at least, the latest versions).
/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin/java
in the Executable under the Java Settings (advanced) tab, so the launcher would launch in java 6, but the game would be java 7...
It's better because you don't have to run a script...
Here is a pic of where you should put the path:
I am most likely inactive on this account! If you want to contact me, here's my Twitter @PandawanYT.
Check out my website!
So close to releasing my new map! Gonna beta test it next week... Probably coming out in two weeks! Follow My Twitter for more info!