pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Building using Java 11?
Date Sun, 08 Dec 2019 04:52:36 GMT
I have not gone beyond Java 8 myself, but I know that Oracle has started to
remove packages from the JDK and that those need to be supplied separately.

On Sat, Dec 7, 2019 at 9:17 AM Roger Whitcomb <Roger.Whitcomb@actian.com>
wrote:

> Hi all,
>                 I'm trying to build latest Pivot trunk code with Java 11
> and am running into this error:
>
> C:\Projects\pivot\trunk\core\src\org\apache\pivot\io\FileSerializer.java:27:
> error: package javax.activation does not exist
> import javax.activation.MimetypesFileTypeMap;
>                        ^
> C:\Projects\pivot\trunk\core\src\org\apache\pivot\io\FileSerializer.java:40:
> error: cannot find symbol
>
> Which I can resolve by adding the "--release 8" switch.  But, then I run
> into this error, which I cannot seem to resolve:
>
> C:\Projects\pivot\trunk\wtk\src\org\apache\pivot\wtk\BrowserApplicationContext.java:28:
> error: package netscape.javascript does not exist
> import netscape.javascript.JSObject;
>                           ^
> C:\Projects\pivot\trunk\wtk\src\org\apache\pivot\wtk\BrowserApplicationContext.java:412:
> error: cannot find symbol
>
> Search of stackoverflow, or other Java forums has so far not helped.  Any
> thoughts or experience with this??
>
> Thanks,
> ~Roger
>
>

-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message