Update Eclipse with newly build JDK
maurizio.cimadamore at oracle.com
Thu Sep 14 10:44:39 UTC 2017
On 14/09/17 11:02, Razvan Minciuna wrote:
> It´s seems that it takes more time to configure the environment than
> testing the features.
> I wish there were more information or documentation.
Well, as I'm sure you understand, every developer has his/her own
specific environment and preferred set of tools. It is not the goal of
this mailing list to discuss how these _experimental_ feature are to be
integrated inside IDEs. Since everything here has not been officially
released, developers that want to chime in are bound to encounter some
friction with the existing toolchain. While this is normally not a big
issue for projects based on maven, ant or gradle (which can be pointed
at the new JDK and will, more or less work), some work is required on
the IDE side to allow you to create projects using those experimental
features, and I hope you understand that we don't have much control over
what IDE decide to do or support (esp. when it comes to experimental
> On Thu, Sep 14, 2017 at 11:02 AM, Maurizio Cimadamore
> <maurizio.cimadamore at oracle.com
> <mailto:maurizio.cimadamore at oracle.com>> wrote:
> Hi Razvan,
> as far as I know, Eclipse uses its own Java compiler (at least in
> normal setups). So, you would need a modified version of Eclipse
> to be able to make it understand 'var' and any other experimental
> feature you might be using.
> The situation is different for Netbeans and Intellij, which
> eventually delegate back to some real javac to do the code
> generation, so I would expect things to be easier with those IDEs.
> If your project has an ant file, I think you can make it work with
> Eclipse too (as Ant will be using javac) - and then you would use
> Eclipse/Ant integration. But still you would need to put up with
> the red squiggly lines in the editor, as the IDE cannot understand
> the new grammar.
> On 14/09/17 09:30, Razvan Minciuna wrote:
>> 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 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
>> <mailto: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