pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: Building using Java 11?
Date Mon, 09 Dec 2019 16:06:35 GMT
Hi all,
sorry but even for me I'm still on Java 8 as development ...

Bye


Il giorno dom 8 dic 2019 alle ore 07:19 Roger Whitcomb <
rogerandbeth@rbwhitcomb.com> ha scritto:

> Yes that was my thought too. But the source code for Java 11 does have
> that class and the module dump indicates the appropriate module is being
> shipped. Let me try targeting Java 11 and see if that makes a difference.
>
> Thanks,
> ~Roger
>
>
> > On Dec 7, 2019, at 8:53 PM, Niclas Hedhman <niclas@hedhman.org> wrote:
> >
> > 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