Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After OSX upgrade, eclipse is missing applescriptengine.jar

Does anybody recognize this problem?

I upgraded my Mac from OSX 10.7 to 10.9. Now eclipse is suddenly complaining that several of my projects cannot find AppleScriptEngine.jar, which is supposed to be in my java extensions folder. I never heard of this jar file and never do anything with apple script. Also, I cannot even find much on this jar file on the net.

I am running Eclipse Kepler and jdk 1.7.55

like image 924
gcr Avatar asked Oct 02 '22 00:10

gcr


2 Answers

I come up with the same problem when I upgrade to El Capitan and Eclipse says "The container 'JRE System Library [JavaSE-1.7]' references non existing library '/System/Library/Java/Extensions/AppleScriptEngine.jar'".

And I fix it by simply following the steps here.

like image 92
xxx_di Avatar answered Oct 03 '22 14:10

xxx_di


Mavericks doesn't come with Java 6 installed by default. Try opening terminal and running java -version. If Java 6 isn't installed, you should be given the option to install it.

If that doesn't work or you are still seeing that error, try installing this Java package (http://support.apple.com/kb/DL1572) and then reinstall Eclipse.

like image 37
JAL Avatar answered Oct 03 '22 14:10

JAL