Re: Can't build project/run java tests in Intellij IDEA.

2020-06-25 Thread Ilya Kasnacheev
Hello!

Practically, you can use either Java 8 or Java 11 for development. To build
the artifact, Java 8 was required (maybe that requirement was relaxed).

I'm not sure why java-9+ profile will turn on by itself. This is unexpected.

Regards,
-- 
Ilya Kasnacheev


пн, 22 июн. 2020 г. в 12:05, Pavel Tupitsyn :

> Agree with Guru Stron, the defaults seem to be broken.
> And we don't have any guidance on which Java version to use -
> neither in Confluence, nor in DEVNOTES.
>
> I'm not even sure which Java versions can be used for Ignite development -
> can someone please clarify?
>
> On Sun, Jun 21, 2020 at 11:52 PM Guru Stron 
> wrote:
>
> > Sergey,
> >
> > Thank you. That worked. Maybe we should add this to the Project setup
> doc?
> >
> > On Sun, 21 Jun 2020 at 23:32, Sergey Antonov 
> > wrote:
> >
> > > Hi!
> > >
> > > Please uncheck java-9+ profile in the maven profiles in idea. It could
> > help
> > > you.
> > >
> > > вс, 21 июн. 2020 г., 22:05 Guru Stron :
> > >
> > > > Dear Igniters,
> > > >
> > > > I filled instructions from
> > > > https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup -
> > > checked
> > > > out project, opened it in  Intellij IDEA and trying to build/run
> tests
> > > and
> > > > getting "Error:java: invalid flag: --add-exports". JIC my environment
> > is
> > > > Win 10 + Java 1.8.
> > > >
> > > > Thank you.
> > > >
> > >
> >
>


Re: Can't build project/run java tests in Intellij IDEA.

2020-06-22 Thread Pavel Tupitsyn
Agree with Guru Stron, the defaults seem to be broken.
And we don't have any guidance on which Java version to use -
neither in Confluence, nor in DEVNOTES.

I'm not even sure which Java versions can be used for Ignite development -
can someone please clarify?

On Sun, Jun 21, 2020 at 11:52 PM Guru Stron 
wrote:

> Sergey,
>
> Thank you. That worked. Maybe we should add this to the Project setup doc?
>
> On Sun, 21 Jun 2020 at 23:32, Sergey Antonov 
> wrote:
>
> > Hi!
> >
> > Please uncheck java-9+ profile in the maven profiles in idea. It could
> help
> > you.
> >
> > вс, 21 июн. 2020 г., 22:05 Guru Stron :
> >
> > > Dear Igniters,
> > >
> > > I filled instructions from
> > > https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup -
> > checked
> > > out project, opened it in  Intellij IDEA and trying to build/run tests
> > and
> > > getting "Error:java: invalid flag: --add-exports". JIC my environment
> is
> > > Win 10 + Java 1.8.
> > >
> > > Thank you.
> > >
> >
>


Re: Can't build project/run java tests in Intellij IDEA.

2020-06-21 Thread Guru Stron
Sergey,

Thank you. That worked. Maybe we should add this to the Project setup doc?

On Sun, 21 Jun 2020 at 23:32, Sergey Antonov 
wrote:

> Hi!
>
> Please uncheck java-9+ profile in the maven profiles in idea. It could help
> you.
>
> вс, 21 июн. 2020 г., 22:05 Guru Stron :
>
> > Dear Igniters,
> >
> > I filled instructions from
> > https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup -
> checked
> > out project, opened it in  Intellij IDEA and trying to build/run tests
> and
> > getting "Error:java: invalid flag: --add-exports". JIC my environment is
> > Win 10 + Java 1.8.
> >
> > Thank you.
> >
>


Re: Can't build project/run java tests in Intellij IDEA.

2020-06-21 Thread Sergey Antonov
Hi!

Please uncheck java-9+ profile in the maven profiles in idea. It could help
you.

вс, 21 июн. 2020 г., 22:05 Guru Stron :

> Dear Igniters,
>
> I filled instructions from
> https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup - checked
> out project, opened it in  Intellij IDEA and trying to build/run tests and
> getting "Error:java: invalid flag: --add-exports". JIC my environment is
> Win 10 + Java 1.8.
>
> Thank you.
>


Can't build project/run java tests in Intellij IDEA.

2020-06-21 Thread Guru Stron
Dear Igniters,

I filled instructions from
https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup - checked
out project, opened it in  Intellij IDEA and trying to build/run tests and
getting "Error:java: invalid flag: --add-exports". JIC my environment is
Win 10 + Java 1.8.

Thank you.