I made a program that has MIDI sound and on each instance it pops up a rectangle. On my computer(Windows 7 64-bit) it works fine. I have the latest Java version. I went to my brothers PC-same kind as mine-and tried it and it did not work. Went to another computer and tried it. Didn't work. I updated Java on that one and it didn't work. Do I have to include something in the JAR so everyone can run it? Here is the source code and JAR. Do not criticize me on my programming because I'm new. Here: http://sourceforge.net/projects/musicplayer1 I can assure you that it is a safe download. If you don't trust me than just get the source code.
For whatever crazy reason, Sun'Oracle saw fit to include a soundbank file with the JDK but not with the JRE. Find the file <tt>soundbank.gm</tt> under your JDK installation folder (on my machine, <tt>C:\Program Files\Java\jdk1.6.0_25\jre\lib\audio</tt>) and copy it to the <tt>...\jre6\lib\audio</tt> folder of any computer on which you want to play MIDI through Java.
You can alternatively download any <tt>.gm</tt> soundbank file to that folder.