error: package com.apple.eawt does not exist

Jonathan Gibbons jonathan.gibbons at oracle.com
Sat Apr 12 19:06:17 UTC 2014


On 04/12/2014 11:44 AM, Raymond Howie wrote:
> I’ve installed Java 8 from the Oracle site onto my Mac which is running 10.9.2  Any of my apps which use the Apple Java Extensions come up with this error message.
>
> I’ve had a look in rt.jar and the classes are listed in there.  I even tried building OpenJDK 8 from the source but get the same error.
>
> Any idea what is going on or how I can fix it?
>
> Raymond Howie
>

By default, javac does not read classes from rt.jar. It reads then from 
a separate symbol file, which only contains standard API.

You might try disabling the mechanism with unsupported javac option 
-XDignore.symbol.file=true and see if that fixes your issues.

-- Jon




More information about the macosx-port-dev mailing list