• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MIDIGraph and runtime error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDIGraph and runtime error


  • Subject: Re: MIDIGraph and runtime error
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 14 Jul 2003 17:54:35 -0700

This is a problem with the Java 1.4 update... You need to add the "coreaudio support.jar" class to the boot class path - we will have a CAJava out that fixes this, in meantime the java dev list can give you the nitty gritty details

Bill

On Monday, July 14, 2003, at 04:32 PM, Henrik Frisk wrote:

Hi,

I have been having tremendous problems with the Java API's for Midi. I have been looking at the Apple Java Sample code but neither FindUnits nor MIDIGraph will run as expected. MIDIGraph compiles as it should (in Emacs) but generates the following message when run from the > shell:

Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/mrj/internal/jdirect/ArrayCopy
at com.apple.audio.util.CAMemoryObject.copyFromArray(CAMemoryObject.java:2 61)
at com.apple.audio.util.CAFString.allocateNewBuffer(CAFString.java:53)
at com.apple.audio.util.CAFString.<init>(CAFString.java:34)
at MIDIGraph.configureMIDI(MIDIGraph.java:114)
at MIDIGraph.<init>(MIDIGraph.java:85)
at MIDIGraph.main(MIDIGraph.java:73)

I've tried building it in ProjectBuilder but that doesn't work either (exit code 1, after that PB crashes). I have the latest version of the Developer Tools (I think, December 2002) and the Audio Tools. Sun's API's doesn't find external Midi Interfaces but works fine apart from that. FindUnits also generates a NoClassDefFoundError exception.

I may be doing something really studip here but I can't work this out. Please help, I'm running out of time! I only need my app to be able to send some really simple Note On/Off messages. I'm running OSX 10.2.6 and have a USB MidiInterface (Tascam US428) with the latest driver.

Thanks!

Henrik Frisk
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


--
mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
References: 
 >MIDIGraph and runtime error (From: Henrik Frisk <email@hidden>)

  • Prev by Date: Re: Multi output Music Device
  • Next by Date: RE: MIDI "Controller" Support
  • Previous by thread: MIDIGraph and runtime error
  • Next by thread: Re: MIDIGraph and runtime error
  • Index(es):
    • Date
    • Thread