If you're having trouble managing your JDK's on Mac OS X, take a look at
jenv

On Mon, Sep 21, 2015 at 9:03 AM dsh <[email protected]> wrote:

> On OSX Eclipse does use whatever JDK it finds on the system. Of course that
> can be configured accordingly in Eclipse.
>
> Cheers
> Daniel
>
> On Wed, Sep 16, 2015 at 6:13 PM, Alex Gout <[email protected]> wrote:
>
> > The eclipse is using an older compiler. Looking at the message, a
> compiler
> > older than 1.7.
> >
> > On Wed, Sep 16, 2015 at 9:56 AM Gurkan Erdogdu <[email protected]>
> > wrote:
> >
> > > No problem occurs in command line with mvn. Problem occurs in eclipse
> > >
> > > > On 16 Sep 2015, at 18:52, Romain Manni-Bucau <[email protected]>
> > > wrote:
> > > >
> > > > Hi Gurkan,
> > > >
> > > > to respect the specification TomEE has to be built with a jdk7. That
> > > said I
> > > > build it on mac with the following JDK without issues:
> > > >
> > > > $ java -version
> > > > java version "1.8.0_45"
> > > > Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
> > > > Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> > > >
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com>
> > > >
> > > > 2015-09-16 8:47 GMT-07:00 Gurkan Erdogdu <[email protected]>:
> > > >
> > > >> Hello folks
> > > >>
> > > >> I tried to switch JDK 1.8.0_60 in Eclipse Luna 4.4.1 in Mac OS X
> > > Yosemite
> > > >> 10.10.4 but when it compiles, I have some compilation errors. Some
> of
> > > them:
> > > >>
> > > >> org.apache.openejb.cdi.WebappBeanManager
> > > >>            return new IteratorSet<>(
> > > >>                new MultipleIterator<>(
> > > >>                    filter,
> > > >>                    deploymentBeans.iterator(),
> > > >>                    getParentBm().getComponents().iterator()));
> > > >> ERROR : Cannot infer type arguments for
> > > >> IteratorSet<>
> > > >>
> > > >> org.apache.openejb.util.Index
> > > >>    public interface ListSet extends List, Set {
> > > >>    }
> > > >>
> > > >> ERROR : Multiple markers at this line
> > > >>        - List is a raw type. References to generic type List<E>
> should
> > > be
> > > >> parameterized
> > > >>        - Duplicate default methods named spliterator with the
> > parameters
> > > >> () and () are inherited from the types Set
> > > >>         and List
> > > >>        - Set is a raw type. References to generic type Set<E> should
> > be
> > > >> parameterized
> > > >>
> > > >> And also some couple of places.
> > > >>
> > > >> Is anybody experience with such errors in JDK 8?
> > > >>
> > > >> Regards.
> > > >>
> > > >> Gurkan Erdogdu
> > > >> Founder, ManageCat
> > > >> p. +1 (909) - 366 – 9337
> > > >> a. 340 S Lemon Ave #7996 Walnut, CA 91789
> > > >> w. http://managecat.com <http://managecat.com/>
> > > >> e [email protected] <mailto:[email protected]>
> > > >> <http://twitter.com/gerdogdu>  <https://tr.linkedin.com/in/gerdogdu
> >
> > > >>
> > >
> > >
> >
>

Reply via email to