Setting up JavaMIDI (for Microsoft Windows)
- Download javamidi.zip (10K).
- Unzip javamidi.zip into a temporary directory.
You should see seven files.
If you have trouble unzipping javamidi.zip, you can download the 7 files
directly: javamidi.dll (15K),
and six files with the .class extension (MidiOut.class 0.3K,
MidiOutDevice.class 2K,
MidiDevice.class 2K,
MidiDeviceNotOpenException.class 0.6K,
MidiBadDeviceException.class 0.6K,
and MidiException.class 0.7K).
- Copy javamidi.dll into your browser's \java\bin subdirectory. For Netscape,
\java\bin will normally be a subdirectory off of the directory containing the Netscape
executable (probably something like C:\Netscape\Navigator\Program\java\bin).
If you have trouble finding \java\bin, search for awt*.dll,
and copy javamidi.dll into the same directory as that file.
- If you don't have a CLASSPATH on your system (and if you've never heard of a CLASSPATH
before, then you probably don't have one), select or create a directory to be your
CLASSPATH. Netscape normally has a subdirectory called \java\classes which works
fine for this purpose. Go to your autoexec.bat file
(probably C:\autoexec.bat) and add the line
SET CLASSPATH=dirname
where dirname
is the full path name of the CLASSPATH directory (for example, something like:
SET CLASSPATH=C:\Netscape\Navigator\Program\java\classes).
Reboot your system to activate the CLASSPATH directory. (You might want to bookmark
this page first.)
- Create a subdirectory called midi off of the CLASSPATH directory. Copy the six
files with the .class extension from the temporary directory to the midi subdirectory.
- Turn up the volume and go back.
JavaMIDI
was written by M. St. Hippolyte,
for Windows 95 and NT. You will need a browser that supports Java -- for example,
Netscape 2.02.
And of course, you will need a sound card.
Back