• 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: NoClassDefFoundError when trying to create a CAFString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NoClassDefFoundError when trying to create a CAFString


  • Subject: Re: NoClassDefFoundError when trying to create a CAFString
  • From: Scott Ruda <email@hidden>
  • Date: Wed, 18 Jun 2003 23:14:49 -0700

On Wednesday, June 18, 2003, at 06:40 PM, Ilya Maykov <email@hidden> wrote:

Ok, ignore my last message, I think i got it to work ... however, i
have one more question. Is there a way to set an environmental variable
under OS X so that i don't have to type that -Xbootclasspath thing? Thx
for any hints.

Sorry I missed the fact that you were using the command line only - I just assumed you were using PB :-0

For deployment, as others have noted, a launcher script is probably the only way to do it <until> Apple fixes the issue. There are probably other things you want on the command line anyway that you should be putting in a startup script, like support for the global menubar, the name of the app in the the dock etc.

For development on your local machine you could always define a shell alias to automatically add the -X option. I'm not a shell expert but I did this and it seems to work:

alias javax "java -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Classes/ CoreAudioSupport.jar \!*"

There might be a way to put it into the actual java startup configuration but I don't know it. There are those ext and endorsed directories that might work if you copy or ln the CoreAudioSupport.jar file into it. I know it doesn't work if you just put it in the standard class path - apparently that is too late in the startup order.

-s
_______________________________________________
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.

  • Prev by Date: Re: Setting the Number of Channels
  • Next by Date: Re: MusicDevice instrumentIDs and presets
  • Previous by thread: Re: NoClassDefFoundError when trying to create a CAFString
  • Next by thread: Setting the Number of Channels
  • Index(es):
    • Date
    • Thread