Forum Stats

  • 3,826,741 Users
  • 2,260,701 Discussions
  • 7,897,067 Comments

Discussions

Java 9 and NetBeans

OTG-467455
OTG-467455 Member Posts: 506 Bronze Badge
edited Nov 8, 2017 7:55AM in Java Puzzle Ball

I decided to play around with both Java 8 and 9.   Java 9 is not supported by NB 8.2, but may be supported in the imminent NB 8.2.1 release expected in December 2017.  

https://netbeans.org/community/news/show/1645.html

Currently there are nightly builds of NetBeans taking place.

Are there different builds taking place? In other words two different development teams. 

To download a nightly build from https://jaxenter.com/netbeans/using-apache-netbeans-incubating-jdk-9 provides two alternative download URL's:

The Apache Jenkins project https://builds.apache.org/job/incubator-netbeans-linux

The other is a Git-Hub build https://github.com/apache/incubator-netbeans

Are there any differences between the builds?

Which one would be a more suitable build?

mNemMikeR5150OTG-467455

Best Answer

Answers

  • mNem
    mNem Member Posts: 1,380 Gold Trophy
    edited Nov 6, 2017 2:43AM

    I have the 8.2 installed for the mooc and although didn't have the chance to use it much, like the speed of start up. I am not sure whether it is to do with the minimal installation.

    After seeing your thread, I also decided to give it a go by downloading the nightly build #201 from apache.

    It so happened, the first line of code I wrote was enough for the editor to complain with a bug in intellisense.

    Runtime.v followed by ctl+space caused the issue.

    The error message pointed to lib/src.zip file. Renaming the src.zip to something else allowed to get around that problem.

    Probably best to wait for a stable build to come out unless you want to get involved in contributing to netbeans qa.

    OTG-467455OTG-467455
  • NickR2600-Oracle
    NickR2600-Oracle Member Posts: 530 Employee
    edited Nov 7, 2017 5:19PM Answer ✓

    I'll have to check those out.  I've been looking for a version of NetBeans which plays will with Java 9's JShell.  I've been getting my builds from here: http://bits.netbeans.org/download/trunk/nightly/latest/ 

    mNemOTG-467455OTG-467455
  • mNem
    mNem Member Posts: 1,380 Gold Trophy
    edited Nov 7, 2017 7:18PM

    thanks for the link. I'll try later.

  • OTG-467455
    OTG-467455 Member Posts: 506 Bronze Badge
    edited Nov 8, 2017 7:54AM

    I had decided to use the Apache Jenkins build.  The reason for this is that one does not have to install it.  You simply unzip and locate the executable in the bin folder and you are on your way.   Pity all applications are not created this way.

    While I am open to other suggestions, I tried NickR2600's suggestion and find it  is a more complete build with all the options for C/C++, PHP etc and it picks up Java 9 as the java platform automatically.