Re: Java: JNI problem with copyFromArray()
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.