[jira] [Updated] (NETBEANS-2622) gradle project seams always taken the default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Eberhöfer updated NETBEANS-2622: Attachment: JDKTest.tar.gz > gradle project seams always taken the default JDK > - > > Key: NETBEANS-2622 > URL: https://issues.apache.org/jira/browse/NETBEANS-2622 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 >Reporter: Andreas Eberhöfer >Assignee: Laszlo Kishalmi >Priority: Minor > Attachments: JDKTest.tar.gz, netbeans_jdk.png > > > Hi, > I start netbeans with JDK 10, set in the `etc/netbeans.conf` the jdkhome > path. Now I create a new gradle project and set in the `build.gradle` > ``` > sourceCompatibility = 11 > targetCompatibility = 11 > ``` > In my code I use a JDK 11 API like > ``` > Path p = Path.of("."); > ``` > This won't compile. > I added a JDK 11 to netbeans and change under > `Properies->Build->Compile->Java Platform` to JDK 11. It still does not > compile. > After a restart, it still does not compile. > I changed the jdkhome in `etc/netbeans.conf` to the JDK 11. After a restart > it compiles. > Not a big deal, but maybe you should have a look at it. To me it seams like > gradle project always takes the default JDK. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2622) gradle project seams always taken the default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Eberhöfer updated NETBEANS-2622: Attachment: netbeans_jdk.png > gradle project seams always taken the default JDK > - > > Key: NETBEANS-2622 > URL: https://issues.apache.org/jira/browse/NETBEANS-2622 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 >Reporter: Andreas Eberhöfer >Assignee: Laszlo Kishalmi >Priority: Minor > Attachments: netbeans_jdk.png > > > Hi, > I start netbeans with JDK 10, set in the `etc/netbeans.conf` the jdkhome > path. Now I create a new gradle project and set in the `build.gradle` > ``` > sourceCompatibility = 11 > targetCompatibility = 11 > ``` > In my code I use a JDK 11 API like > ``` > Path p = Path.of("."); > ``` > This won't compile. > I added a JDK 11 to netbeans and change under > `Properies->Build->Compile->Java Platform` to JDK 11. It still does not > compile. > After a restart, it still does not compile. > I changed the jdkhome in `etc/netbeans.conf` to the JDK 11. After a restart > it compiles. > Not a big deal, but maybe you should have a look at it. To me it seams like > gradle project always takes the default JDK. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2622) gradle project seams always taken the default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2622: -- Component/s: (was: gradle) projects - Gradle > gradle project seams always taken the default JDK > - > > Key: NETBEANS-2622 > URL: https://issues.apache.org/jira/browse/NETBEANS-2622 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 >Reporter: Andreas Eberhöfer >Assignee: Laszlo Kishalmi >Priority: Minor > > Hi, > I start netbeans with JDK 10, set in the `etc/netbeans.conf` the jdkhome > path. Now I create a new gradle project and set in the `build.gradle` > ``` > sourceCompatibility = 11 > targetCompatibility = 11 > ``` > In my code I use a JDK 11 API like > ``` > Path p = Path.of("."); > ``` > This won't compile. > I added a JDK 11 to netbeans and change under > `Properies->Build->Compile->Java Platform` to JDK 11. It still does not > compile. > After a restart, it still does not compile. > I changed the jdkhome in `etc/netbeans.conf` to the JDK 11. After a restart > it compiles. > Not a big deal, but maybe you should have a look at it. To me it seams like > gradle project always takes the default JDK. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists