Results 1 to 2 of 2
  1. #1
    isum12b is offline Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Default Trouble using midi sound package

    I'm trying to use midi sound package in eclipse, but every time I run my program, I get the following error:

    java.lang.UnsatisfiedLinkError: init_
    at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.i nit_(libgcj.so.90)
    at gnu.javax.sound.midi.alsa.AlsaMidiDeviceProvider.< clinit>(libgcj.so.90)
    at java.lang.Class.initializeClass(libgcj.so.90)
    at java.lang.Class.newInstance(libgcj.so.90)
    at gnu.classpath.ServiceProviderLoadingAction.run(lib gcj.so.90)
    at java.security.AccessController.doPrivileged(libgcj .so.90)
    at gnu.classpath.ServiceFactory$ServiceIterator.loadN extServiceProvider(libgcj.so.90)
    at gnu.classpath.ServiceFactory$ServiceIterator.<init >(libgcj.so.90)
    at gnu.classpath.ServiceFactory.lookupProviders(libgc j.so.90)
    at gnu.classpath.ServiceFactory.lookupProviders(libgc j.so.90)
    at gnu.classpath.ServiceFactory.lookupProviders(libgc j.so.90)
    at javax.sound.midi.MidiSystem.getMidiDeviceInfo(libg cj.so.90)
    at javax.sound.midi.MidiSystem.getSequencer(libgcj.so .90)
    at sound.SequencePlayer.<init>(SequencePlayer.java:44 )
    at sound.SequencePlayerTest.playPieceOne(SequencePlay erTest.java:14)

    I'm running ubuntu, and I don't know what I'm supposed to do here. Any help?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    Get and install the Sun JDK and scrap gnu, which is also known as "fake Java"

    db

Similar Threads

  1. midi bytes
    By willemjav in forum Advanced Java
    Replies: 77
    Last Post: 07-29-2008, 03:10 PM
  2. Parsing MIDI files
    By rsk8332 in forum Advanced Java
    Replies: 1
    Last Post: 01-21-2008, 10:43 PM
  3. Determining Midi Length
    By Usagi in forum New To Java
    Replies: 0
    Last Post: 12-08-2007, 11:45 PM
  4. help with midi files
    By leonard in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 04:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •