QuickTime for Java under Snow Leopard

QuickTime for Java uses a 32 bit architecture, Snow Leopard supports only 64 bits, so now compiling and running software containing the old, no more supported but still useful QuickTime for Java generates errors like this:

	at ...
Caused by: java.lang.UnsatisfiedLinkError: 
 no suitable image found.
Did find:  
no matching architecture in universal wrapper
        at ...

Luckily, there is a simple solution: use java -d32 when running the software. It should work! (it did solve my problems)

Tagged with:
Posted in Multimedia
4 comments on “QuickTime for Java under Snow Leopard
  1. kermit says:

    Thanks for this! I thought I was never gonna solve the problem.

    Do you maybe know where can I find a good qtjava reference now that Apple Developer Centre doesn’t provide it anymore? I can’t find a good library reference anywhere and javadoc seems to be broken for that library in particular (at least Netbeans can’t find it).

  2. Ali says:

    Thank you SO much! I could not figure out what was going on!

  3. cmercat says:

    Wow, it works! Thanks heap, Java QT is not dead after all…
    Under eclipse [as found on processing.org forum] :

    Re: Snow Leopard & Video Capture
    Reply #12 – Feb 20th, 2010, 11:28am
    @weak, thx much for the eclipse VM tip. i had a wee bit of trouble finding this (it’s not in Project Properties), so for others, to get to this field:

    right/ctrl-click on project (in Navigator)
    choose Run As… > Run Configurations…
    or Debug As… > Debug Configurations…
    click the Arguments tab
    enter ‘-d32’ (no quotes) in the VM arguments field.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: