Re: MIDIGraph and runtime error
Re: MIDIGraph and runtime error
- Subject: Re: MIDIGraph and runtime error
- From: Henrik Frisk <email@hidden>
- Date: Tue, 15 Jul 2003 11:01:59 -0700
Thank You! That was fairly simple once you knew it! This may be the wrong list to ask this question, but is there really no way to set the BOOTCLASSPATH env variable so that I don't have to type the full path each time I run the app from the commandline? setenv doesn't do it.
Henrik Frisk
On Monday, July 14, 2003, at 05:54PM, Bill Stewart <email@hidden> wrote:
>
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.