• 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: Java: JNI problem with copyFromArray()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java: JNI problem with copyFromArray()


  • Subject: Re: Java: JNI problem with copyFromArray()
  • From: Gary Affonso <email@hidden>
  • Date: Tue, 12 Aug 2003 15:42:36 -0700

>> Hi,
>>
>> when I run my Java program using CAMemoryObject.copyFromArray(), I get
>> the following runtime exception:
>>
>> java.lang.NoClassDefFoundError:
>> com/apple/mrj/internal/jdirect/ArrayCopy
>> at
>> com.apple.audio.util.CAMemoryObject.copyFromArray(CAMemoryObject.java:2
>> 61)
>>
>> Do I need to set a special classpath when running my application? I am
>> using PB's defaults for a Java tool, and my JDK is version 1.4.1.

You need to add the following to your java command:

-Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Version/1.4.1/
Classes/CoreAudioSupport.jar

As Bill indicated, this has been discussed at length on the java-dev list.
Try search for bootclasspath in the java-dev archives.

- Gary

Server Side Software
5614 8th Ave NE
Seattle, WA 98105
Voice: (206) 525-4786
Fax: (413) 683-2973
Email: email@hidden
_______________________________________________
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: 
 >Re: Java: JNI problem with copyFromArray() (From: Bill Stewart <email@hidden>)

  • Prev by Date: A/V sync problems with CoreAudio driver
  • Next by Date: MusicPlayer stopping then restarting
  • Previous by thread: Re: Java: JNI problem with copyFromArray()
  • Next by thread: A/V sync problems with CoreAudio driver
  • Index(es):
    • Date
    • Thread