Update Eclipse with newly build JDK
forax at univ-mlv.fr
Thu Sep 14 13:33:12 UTC 2017
Eclipse uses its own compiler, not javac, so it will not recognize 'var' as a keyword.
You can create a fake class named 'var', but you will still have some compilation error.
----- Mail original -----
> De: "Razvan Minciuna" <razvan.minciuna at gmail.com>
> À: "Maurizio Cimadamore" <maurizio.cimadamore at oracle.com>
> Cc: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Jeudi 14 Septembre 2017 08:44:58
> Objet: Re: Update Eclipse with newly build JDK
> I was able to configure the Eclipse to support modularized jdk and I could
> add it.
> but it´s still not working and I have a compilation error
> please see attached the configuration image and tell me if I´m missing
> On Wed, Sep 13, 2017 at 10:18 PM, Maurizio Cimadamore <
> maurizio.cimadamore at oracle.com> wrote:
>> On 13/09/17 20:39, Razvan Minciuna wrote:
>>> I am not able to update the Eclipse jdk environment with the newly build
>> Might that be caused by the fact that this JDK is basically a fully
>> modularized JDK? Does your version of Eclipse support modularized JDKs?
>> Try to look here:
>> From cli I can compile and execute tha application, so I think the build
>>> went ok but I would like to use it from eclipse.
>>> What am I missing?
More information about the amber-dev