If you want to write the output of all programs to this audio device using a java application, for example audiohijackpro, the short answer is no, this is not possible without built-in code. This is actually quite difficult to do in any language. As far as I know, no platform makes this easy.
In some environments, there is a workaround, for example http://cycling74.com/soundflower-landing-page/ , but this requires your end user to collaborate.
source share