Parental Controls Always Allow does not work

This gave me enough info to fix the Minecraft launcher. The prior answer works, but has an ugly menu name, which my son would pester me about. So instead, I fixed the Minecraft.app setup.

In a nutshell, in terminal:

cd /Applications/Minecraft/Contents/MacOS
mv JavaApplicationStub Minecraft
cat > JavaApplicationStub << EOF
#!/bin/sh

exec `dirname $0`/Minecraft "$@"
EOF
chmod +x ./JavaApplicationStub

Basically, it would appear that ParentalControls expects the application being run to match the name of the executable (which is not the case with the distributed app: It's Minecraft.app, and JavaApplicationStub), so by moving the executable to match the app name, it works. I had to create a shell script to actually exec the executable because I got "Path not found" otherwise.

This seemed to work.

I only put this here because it worked for me. If you do not understand the code block again, please keep in mind you might have to re-download the app (or make a copy first).


I've posted the same question on the Apple Support forums here - quite a few people seem to have the same issue, but no answers so far.

Meanwhile, I have worked around it and have managed to get it to work on my son's MacBook Pro. Here's what I did:

I added a shell script called MyMinecraft with the following contents:

#!/bin/bash
java -jar -Xms512m -Xmx1024m /Applications/Minecraft.app/Contents/Resources/Java/MinecraftLauncher.jar

After saving this file, I made it executable (either through Finder's Show Info or using chmod +x MyMinecraft in the Terminal) and tried running it from my son's account. It worked fine and started Minecraft. So far so good.

To make it a bit more pretty, I created a real Mac application from the script - there are multiple options for this:

  1. Platypus: http://sveinbjorn.org/platypus
  2. Create the following directory structure in the user's Application directory: MyMinecraft.app/Contents/MacOS and move the MyMinecraft script there. Now you can add the original Minecraft icon through Finder's Show Info dialog

Double-clicking the MyMinecraft icon should now start Minecraft.