Java error on OSX 10.10.5

Hey guys! Newbie here (to the forum). So I just updated my macbook OS to OSX10.10.5 (Yosemite) and have some issues with java when I try to run a sketch in Processing.

The sketch:

import processing.sound.*;
SoundFile file;

void setup() {
  size(640, 360);
  background(255);

  // Load a soundfile from the /data folder of the sketch and play it back
  file = new SoundFile(this, "buzz.wav");
  file.play();
}      

void draw() {
}

The console after I press 'run':

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x000000019a2e4547, pid=559, tid=61807
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libsndfile.1.dylib+0x2547]  psf_open_file+0xc3
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/Andy/hs_err_pid559.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Could not run the sketch (Target VM failed to initialize).
Make sure that you haven't set the maximum available memory too high.
For more information, read revisions.txt and Help → Troubleshooting.

I never had any issues with Processing before updating my OS so I have no idea what's going on... So far I've tried updating Java to version 8, uninstalling it and reverting back to the Apple Java 6, restarting my machine but no luck with any of these so far :(

Any help/guidance would be amazing! Thanks!!! :)

Tagged:
Sign In or Register to comment.