CoreAudio for Java still not ready for JDK 1.4.1?
CoreAudio for Java still not ready for JDK 1.4.1?
- Subject: CoreAudio for Java still not ready for JDK 1.4.1?
- From: Gerd Castan <email@hidden>
- Date: Sun, 16 Mar 2003 22:28:36 +0100
Hi,
JDK 1.4.1 for Mac OS X is out. And it doesn't support JDirect.
When I start my audio application with JDK 1.4.1, I get the exception
-[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a Java
virtual machine
[LaunchRunner Error] de.gerdcastan.clar.gui.CoreRecorder.main(String[])
threw an exception:
java.lang.NoClassDefFoundError: com/apple/mrj/internal/jdirect/Accessor
at com.apple.audio.util.CAMemoryObject.setIntAt(CAMemoryObject.java:473)
at
com.apple.audio.hardware.AudioHardware.getPropertyInfoSize(AudioHardware.java:41)
at
com.apple.audio.hardware.AudioHardware.getAudioDevices(AudioHardware.java:122)
at de.gerdcastan.clar.device.AllDevices.<init>(AllDevices.java:73)
I used the hint of Scott Ruda and added
-Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Classes/CoreAudioSupport.jar
to the Additional VM options in ProjectBuilder (hope this is the correct
place) but I still get the same Exception.
Any help?
Thanks,
Gerd
_______________________________________________
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.