Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4629648

Windows SDK installer does not copy soundbank to correct JRE location

XMLWordPrintable

    • hopper
    • x86
    • windows_2000
    • Not verified

      Soundbanks are necessary for playback of MIDI files. For the Windows JRE distribution, the soundbank is not included for size restrictions (which means that users who only installed JRE cannot listen to MIDI files directly (or corrupt MIDI playback). They have to download and install a soundbank manually).

      The SDK distribution however, does install one in

      \jdk1.4\jre\lib\audio\soundbank.gm

      This enables MIDI playback when you use \jdk1.4\bin\java . But this soundbank is not used for applets or when double-clicking jar files - because they use the JRE in e.g. \Program Files\Java\JRE\1.4, which doesn't have the soundbank installed. Installing the soundbank consists of just copying one file (the soundbank) to the right location.

      Would it be possible to copy the soundbank not only to the SDK path but also to the JRE path during installation ?
      There are many questions from users "MIDI doesn't work in applets"...

      See "suggested fix" for pseudo code that performs the installation.

            billyh William Harnois
            fbomerssunw Florian Bomers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: