Permission denied error=13

Nov 3, 2011 at 1:59am

Permission denied error=13

Trying to compile firsttime class with quickie, from the tutorial. Getting the following error message:
Unexpected Error During Compile:

Cannot run program “/System/Library/Java/JavaVirtualMachines/1.6.0.jdk”: error=13, Permission denied

See Max console for stack trace.

Following settings in the compile window:
Source file: /Applications/Max6/Cycling ’74/java/classes/

Compiler command: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

Build Directory: /Applications/Max6/Cycling ’74/java/classes

Classpath: /Applications/Max6/Cycling ’74/java/lib/jitter.jar:/Applications/Max6/Cycling ’74/java/lib/jode-1.1.2-pre-embedded.jar:/Applications/Max6/Cycling ’74/java/lib/max.jar:/Applications/Max6/Cycling ’74/java/classes/

Running Max 6.0.0, OSX 10.6.8, javac 1.6.0_26

Can anyone help me with how I can set the correct permission setting?

Nov 14, 2011 at 12:52am

Still haven’t figured out how to set the permissions correctly. Anyway, using Eclipse it’s no problem.

Nov 17, 2011 at 1:06pm

On which system are you working? If you are an OsX could be that you have to change the the file’s permission to make it executable.


Nov 17, 2011 at 1:14pm

one way of setting permission on Osx is using the terminal and use the command [sudo] chmod command. The commands are mostly identical with the linux/unix commands.

here is a cheat sheet:

Nov 17, 2011 at 1:42pm

…also on windows maybe you must run max as administrator(vista,windows 7)

Dec 14, 2011 at 11:21am

I’ve tried setting the permission with chmod, still no luck. But when using Eclipse, all is compiling nicely. So no problem really.

Oct 12, 2012 at 5:20am

I’m having exactly the same problem here, and file permissions don’t seem to fix it.

Max 6.0.7; OS X 10.8.2; JDK 1.6.0_29-b11-402


You must be logged in to reply to this topic.