eclipse java and max msp problem! HELP!!

Hey, this is my first thread. Hope someone can help me out here..
Well this the code. Have a look, specially at the noteplayer.java
So basically, using minim library.... its an output with keyboard and sounds attached to every key when you press a key. What i wanna do is send this sound to max msp and process it through my patch or whatever. Can someone help me out here? Urgent.