Mark S. Miller wrote:
> Does anyone understand this warning message from Eclipse? It seems self
> contradictory:
> 
> Incompatible .class files version in required binaries. Project 'boundary'
> is targeting a 1.5 runtime, but is compiled against
> 'System/Library/Java/Extensions/AppleScriptEngine.jar' (from the container
> 'JRE System Library [JVM 1.5.0 (MacOS X Default)]') which requires a 1.6
> runtime

Always google the error message :-)

From http://www.ruby-forum.com/topic/166454:

----
I had to move

   /System/Library/Java/Extensions/AppleScriptEngine.jar

to:

   /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext

   sudo mv /System/Library/Java/Extensions/AppleScriptEngine.jar
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext

The problem is because AppleScriptEngine.jar is compiled by Apple
with Java 1.6 but it is loaded when Java 1.5 uses javax.script.

For more details see:

   http://www.ja-sig.org/wiki/display/UPC/uPortal+IRC+Logs-2008-05-15
   http://www.google.com/search?q=AppleScriptEngine.jar
----

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

Reply via email to