QTJSupport.jar (Update 2)

14. Juli 2007 at 11:34
filed under Binäres Leben

english

Wer neulich das letzte QuickTime-Update auf dem Mac installiert hat und jetzt feststellt, dass alle Eclipse-Projekte nicht mehr funktionieren, weil QTJSupport.jar fehlt, dem hilft vielleicht folgendes weiter:

sudo touch /System/Library/Java/Extensions/QTJSupport.jar

Das erzeugt eine leere Datei mit dem richtigen Namen, deren Existenz zumindest bei mir ausreicht. Allerdings kommt QuickTime in meinen Projekten auch nicht vor.

(und natürlich: Keine Garantie, dass das nicht das System zerschießt oder so)

Update 1 (english version)

People are coming via google, so a few words in english:

It seems that there is problem with Eclipse after the latest QuickTime update (If I remember correctly, the update came out the 12th). The file QTJSupport.jar is missing, so that Eclipse does not compile or run any project. I don’t know why the file has been removed, but on my system it was enough to fake the file (touch can be used to create new, empty files, sudo gives you administrator rights):

sudo touch /System/Library/Java/Extensions/QTJSupport.jar

Run the above in a terminal, type your password and it should work again.

This is a hack, there might be severe side effects, I simply do not know. Other solutions have been mentioned.

Update 2
There has been a short discussion on an Apple mailing list, confirming what Leo141 said.

5 comments

RSS /

Comments are closed.

  1. Michaela

    on 15. Juli 2007 at 11:00

    Also, meinen Eclipse-Projekten ist das ja egal, ob die Datei da ist oder nicht. Andererseits war sie auch standardmäßig da.

    Bist Du sicher, dass Du kein Eclipse-Plugin installiert hast, das das benutzt?
    (Was heißt denn ‘funktionieren’? Kann es sie auch nicht mehr ausführen?)

    …ansonsten kann ich Dir gerne mein QTJSupport.jar schicken, falls Deins verschwunden bleibt ;-). Andere Leute scheinen das Problem ja auch zu haben (sagt Google.)

  2. Bob Evans

    on 16. Juli 2007 at 21:50

    I ran across your blog. good idea just putting a fake file there. I don’t speak German, but I gather from the example that is what you did. And that worked for me.

    I just upgraded to the newest quicktime system update on OS X before this started. I can find no pointers to what happened.

    Anyway, thanks for the post.

  3. Leo141

    on 17. Juli 2007 at 08:52

    Ich tue zwar germanisch sprechen, aber wenn diese Seite unter den Angelsachsen so beliebt ist :) :

    The following procedure seems less prone to side effects: go to Package explorer → select the JRE System library → configure → choose “Alternate JRE” and select “JVM 1.5″.
    Although this points on the same VM (1.5.0) it works for me. When I choose back the “default”, the error reappears …

  4. toli

    on 17. Juli 2007 at 20:24

    thanks for the writeup – very helpful. I followed leo141′s advice by explicitly specifying Java 1.5 JRE in Ecplise preferences and it worked for me after restarting Eclipse.
    Danke!

  5. Janne

    on 20. Juli 2007 at 11:53

    Leo141’s trick does not work if you have already used the Alternate JRE. The trick is to Go to Package explorer -> Select JRE System library -> configure -> Installed JREs -> remove the offending JRE -> Add -> Go to /System/Library/Frameworks/JavaVM.Framework/Versions/ -> Find your JRE -> choose the Home directory -> OK.

    This recreates the library path, so you can re-add it to your project.

    Took me a while to figure this one out – apparently QTJSupport.jar was removed in a QT update.