getting around the ports issue

It’s to my understanding that you can’t really create Port instances because of a glitch in the programming of Java.
Thus currently you have to use mixers to create sound.
Is there any fix for the glitch?
If not, what’s the best way to make sure a program will run with any mixer?