Unfortunately, it's not that simple, at least not on Mac. There are different paths for Java 6 and 7, some things need 6, others need 7, and that's just the tip of the iceberg.
Anyway, I'm trying to restore via time machine. I'll keep you both updated, and thanks!
EDIT: I dunno what I did, or what I just did to fix it, but thank God for Time Machine. It works fine. Thank you both!
So then reinstall it from Java.com and redownload the launcher, because if the launcher still gives problems, either something's wrong with it or this caused some other huge problem with your computer. Have you had any other problems?
Nope, no other problems. This all started when I messed with Java yesterday, and it's only for Minecraft.
I don't know how to find out the Java you have on a Mac, but it should say something like 7u60, or Java 7 Update 60 (which is the latest version).
Have you tried downloading the launcher again? Perhaps even backup your saves and delete/recreate the entire minecraft folder?
Yeah, I tried that. Normally, if I uninstall java, when I open the launcher it'll say something like, "you need java, would you like to install it now? Y/N" but now it doesn't even say that.
So yesterday I decided to stop compiling my own heap of mods and try to use the Technic and FTB launchers to download some of their mod packs. For whatever reason, I found out I had to mess with java to get them to work. So I did, and eventually they both worked fine. When I tried to open the vanilla launcher this morning, however, it did nothing. Absolutely nothing. When I checked the console, every time I would try to open Minecraft, it would give me the same error message. If anyone can help me, thank you in advance.
Important info:
OS: Mac OSX 10.9.3
Specs: 2009 MBP
Java: Well, I dunno, because like I said, I was dumb enough to go screwing with it.
Error msg I always get in the console: 6/11/14 12:17:04.917 PM Dock[304]: JLRequestRuntimeInstall: CFMessagePortSendRequest: error -1
I don't hve Eplus, but I get an "updating screen events" crash myself whenever I switch between my Internet browser and my game to quickly. I think our computers both just really, really suck. Don't quote me on that though; I would wait for a real answer from someone who can actually read logs.
1) First thing, check if you REALLY have java 7.
Go to your Applications -> Utilites folder and open Terminal.
Type "java -version" (without the quotes) in the terminal.
See what terminal writes back to you. There should be either:
java version "1.6.0_XX" or java version "1.7.0_XX" (XX will be some numbers).
2) If you see 1.7, it's okay, you just need to change the path in the launcher. BUT, if you see 1.6, you updated only jre, not jdk and you still need your java.
Go here: http://www.oracle.co...ds-1880260.html
Download the java from the table (the one labeled Mac OS X x64, obviously ). Remember, you need to click the "Accept License Agreement" radio button first.
Install the java you downloaded.
Repeat step 1 to make sure you got it right this time.
3) After you are sure that you have the correct java version, you need to change the path to java binary in the MC launcher. It *should* be okay to just put "/usr/bin/java" instead of what is there now. But if that doesn't work, you will need to put the full path to java 7 there. Unfortunatelly, I cannot check now how it should go, because I don't have my "Java 7" mac with me. I will try to add that info to this post in several hours.
Sounds like your not completing the entire path. should look something like this in the launcher's executable path:
/Library/Java/JavaVirtualMachines/jdk.1.7.0_55.jdk/Contents/Home/Bin/Java
Java 7 on a mac is installed in a different folder than java 6, or at least the part that you point the minecraft to is, so no, path won't be the same. Unfortunately I can't tell you anymore what the correct path is for 7 as I've switched all my profiles to java 8 since (which is yet another different path I think. Or er...maybe not. Sec...java 7 and 8 are in the same folder after all. Path painter73 gave you is the right one).
If you open your system prefs and click on the java button on the bottom, it should pop out the java panel and if you go then under java tab, and press View, should show you the paths for all java versions on your system.
YUSS. Thank you all, I finally got it to work. Admittedly, I don't know what I was doing wrong (probably a spelling error), but I got it to work, so thank you all, and I'm sorry for wasting your time and sounding like an imbecile while I'm doing it.
Sounds like your not completing the entire path. should look something like this in the launcher's executable path:
/Library/Java/JavaVirtualMachines/jdk.1.7.0_55.jdk/Contents/Home/Bin/Java
Nope, that's exactly what I did. My problem is that no matter what I install, when I go back to that very Java folder where it's supposed to be, the only JDK there is 1.6.0. I've looked around more, and they're all being installed in another Java folder, for whatever reason.
1) First thing, check if you REALLY have java 7.
Go to your Applications -> Utilites folder and open Terminal.
Type "java -version" (without the quotes) in the terminal.
See what terminal writes back to you. There should be either:
java version "1.6.0_XX" or java version "1.7.0_XX" (XX will be some numbers).
2) If you see 1.7, it's okay, you just need to change the path in the launcher. BUT, if you see 1.6, you updated only jre, not jdk and you still need your java.
Go here: http://www.oracle.co...ds-1880260.html
Download the java from the table (the one labeled Mac OS X x64, obviously ). Remember, you need to click the "Accept License Agreement" radio button first.
Install the java you downloaded.
Repeat step 1 to make sure you got it right this time.
3) After you are sure that you have the correct java version, you need to change the path to java binary in the MC launcher. It *should* be okay to just put "/usr/bin/java" instead of what is there now. But if that doesn't work, you will need to put the full path to java 7 there. Unfortunatelly, I cannot check now how it should go, because I don't have my "Java 7" mac with me. I will try to add that info to this post in several hours.
Hi, sorry, I didn't see your post until now.
My problem is is that everything on my system says it's Java 7, except for Minecraft. And I looked around in my files; there are two Java folders on my computer. one in /library/java/JavaVirtualMachines/, and one in /system/library/Java/JavaVirtualMachines/. Whenever I install any java version, they are installed to /library/Java, NOT /system/library/Java. And when I try to put the system path to those into the launcher, the game doesn't start.
Did you have this problem, and if so, how'd you fix it?
Are you using the "Java Update" on the Java website? That installs only 32bit JRE. You need to go to the download section and get 64bit JDK.
Argh, it isn't working. Whenever I get the 64 bit version, instead of going to /system/library/java/JVM, it goes to /library/java/JVM, and leaves off like half the files. If anyone comes along who's "been there done that" on Mac and can help, please do, otherwise, thanks for trying to help me, grimallq.
Change the path in the launcher. Edit your profile and look at the 'java settings' and get rid of the \1.6.0.jdk\ part in the executable path. Just change it to the java version you have or want to use. (probably \jdk.1.7.0_55.jdk\ but idk what you downloaded/installed)
The problem is, no matter how many times I try to install Java (V7 update 55), the only JDK that ever shows up in the files is 1.6.0 JDK.
Well, according to your crash log.
[/font]
[font=arial, helvetica, sans-serif]Your Minecraft is running on Java 6. Before you ask, I have no Idea how to make Minecraft launcher use the correct Java version on a Mac. I think I saw someone posting instruction in the last couple of pages.[/font]
Well, I got nothing. Does anybody know how to get Java 7 running for a Mac? I checked my Java files, and no matter what I do, the launcher wants to use jdk 1.6.0.
Hello, I'm having trouble with NEI. I'm trying to install it along with 3 others (Inv. Tweaks, Optifine, and Voxelmap/Zan's Minimap), and even though the three others work fine together, as soon as I add codechickencore and NEI, it crashes as soon as I try to start up a world.
Not sure if this is the correct way to add a crash report, but here it is:
---- Minecraft Crash Report ----
// Why is it breaking
Time: 5/8/14 10:37 AM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at codechicken.nei.NEIServerConfig.isActionDisabled(NEIServerConfig.java:133)
at codechicken.nei.NEIServerUtils.advanceDisabledTimes(NEIServerUtils.java:99)
at codechicken.nei.ServerHandler.processDisabledProperties(ServerHandler.java:61)
at codechicken.nei.ServerHandler.tickEvent(ServerHandler.java:38)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_10_ServerHandler_tickEvent_WorldTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
at cpw.mods.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:268)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:604)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Mac OS X (x86_64) version 10.9.2
Java Version: 1.6.0_65, Apple Inc.
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 100275240 bytes (95 MB) / 270065664 bytes (257 MB) up to 4290641920 bytes (4091 MB)
JVM Flags: 1 total; -Xmx4G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 102
FML: MCP v9.03 FML v7.2.172.1072 Minecraft Forge 10.12.1.1072 Optifine OptiFine_1.7.2_HD_U_D1 7 mods loaded, 7 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.172.1072} [Forge Mod Loader] (forge-1.7.2-10.12.1.1072.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.1.1072} [Minecraft Forge] (forge-1.7.2-10.12.1.1072.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.0} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.1} [Not Enough Items] (NotEnoughItems-1.7.2-1.0.1-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
inventorytweaks{1.57-116} [Inventory Tweaks] (InventoryTweaks-1.57-116.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
voxelmap{1.7.2} [VoxelMap] (voxelmap-1.7.2-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
EDIT: Nope, that certainly was not "pastebin", whatever pastebin is. Hang on a sec while I fix this...
EDITEDIT: There we go. Everyone, meet my crash report.
0
0
Anyway, I'm trying to restore via time machine. I'll keep you both updated, and thanks!
EDIT: I dunno what I did, or what I just did to fix it, but thank God for Time Machine. It works fine. Thank you both!
0
0
0
So yesterday I decided to stop compiling my own heap of mods and try to use the Technic and FTB launchers to download some of their mod packs. For whatever reason, I found out I had to mess with java to get them to work. So I did, and eventually they both worked fine. When I tried to open the vanilla launcher this morning, however, it did nothing. Absolutely nothing. When I checked the console, every time I would try to open Minecraft, it would give me the same error message. If anyone can help me, thank you in advance.
Important info:
OS: Mac OSX 10.9.3
Specs: 2009 MBP
Java: Well, I dunno, because like I said, I was dumb enough to go screwing with it.
Error msg I always get in the console:
6/11/14 12:17:04.917 PM Dock[304]: JLRequestRuntimeInstall: CFMessagePortSendRequest: error -1
0
1
YUSS. Thank you all, I finally got it to work. Admittedly, I don't know what I was doing wrong (probably a spelling error), but I got it to work, so thank you all, and I'm sorry for wasting your time and sounding like an imbecile while I'm doing it.
0
Nope, that's exactly what I did. My problem is that no matter what I install, when I go back to that very Java folder where it's supposed to be, the only JDK there is 1.6.0. I've looked around more, and they're all being installed in another Java folder, for whatever reason.
0
Hi, sorry, I didn't see your post until now.
My problem is is that everything on my system says it's Java 7, except for Minecraft. And I looked around in my files; there are two Java folders on my computer. one in /library/java/JavaVirtualMachines/, and one in /system/library/Java/JavaVirtualMachines/. Whenever I install any java version, they are installed to /library/Java, NOT /system/library/Java. And when I try to put the system path to those into the launcher, the game doesn't start.
Did you have this problem, and if so, how'd you fix it?
0
Argh, it isn't working. Whenever I get the 64 bit version, instead of going to /system/library/java/JVM, it goes to /library/java/JVM, and leaves off like half the files. If anyone comes along who's "been there done that" on Mac and can help, please do, otherwise, thanks for trying to help me, grimallq.
0
The problem is, no matter how many times I try to install Java (V7 update 55), the only JDK that ever shows up in the files is 1.6.0 JDK.
0
Well, I got nothing. Does anybody know how to get Java 7 running for a Mac? I checked my Java files, and no matter what I do, the launcher wants to use jdk 1.6.0.
0
But I have Java 7.
EDIT: Yeah, I just tried to reinstall it. Still crashed.
0
Not sure if this is the correct way to add a crash report, but here it is:
EDIT: Nope, that certainly was not "pastebin", whatever pastebin is. Hang on a sec while I fix this...
EDITEDIT: There we go. Everyone, meet my crash report.
0