Slashdot Mirror


Apache NetBeans 10.0 Now Available (apache.org)

The Apache Software Foundation has released NetBeans 10.0, the second major release of the Apache NetBeans IDE. The release, said the Apache Software Foundation, is focused in adding support for JDK 11, JUnit 5, PHP, JavaScript and Groovy, as well in solving many issues. From a blog post: JDK 11 support has been enhanced in the following ways: Integration with the nb-javac project, adding support for JDK 11, removed the CORBA modules, support for JEP 309, Dynamic Class-File Constants, support for JEP 323, Local-Variable Syntax for Lambda Parameters, and support for LVTI Support for Lamdba Parameters.

PHP 7.3: You can now add trailing commas in function calls under PHP 7.3 (mailing list thread), and also use the list reference assignment, the flexible Heredoc and Nowdoc Syntaxes are also supported. [...] And more: context sensitive lexer, PHPStan support, debugger, twig, hints, suggestions, code completionâ¦â visit PHP Features Page and NetBeans 10 New and Noteworthy for more details on PHP support. JUnit 5.3.1 has been added as a new Library to NetBeans, so you can quickly add it to your Java projects. For Maven projects without no existing tests, JUnit 5 is now the default JUnit version.

38 comments

  1. more learning by olsmeister · · Score: 1

    I know about lambda parameters but it looks like now I need to read up and lamdba parameters. Sigh.

    1. Re:more learning by Anonymous Coward · · Score: 0

      It really is not much. In Java 8 you could do:

              (x,y) -> x.process(y)

      but if you wanted annotations you had to provide type:

              (x, @Nonnull String y) -> x.process(y)

      In Java 10 the `var` was added but only in Java 11 you can actually use it in this use case:

              (x, @Nonnull var y) -> x.process(y)

    2. Re:more learning by alvinrod · · Score: 1

      It doesn't look like there's any real change if you're already using lambda expressions. Java 10 hasn't been out long enough for most people to absorb those changes (which is what this modification to lambdas is about) so you can probably just continue on as usual.

    3. Re: more learning by Anonymous Coward · · Score: 0

      So they made reading the code harder. Got it.

    4. Re:more learning by twdorris · · Score: 1

      Woosh.

  2. Java and PHP? Wow that's relevant! by Anonymous Coward · · Score: 0

    In like 2006...

    1. Re:Java and PHP? Wow that's relevant! by tepples · · Score: 1

      Last I checked, WP was still written in PHP.

      "Do you mean WordPress or Wikipedia?"
      Yes.

    2. Re:Java and PHP? Wow that's relevant! by skoskav · · Score: 2

      Java is a very established language and platform for servers. Maybe you're confusing it with the browser plugin?

    3. Re: Java and PHP? Wow that's relevant! by Anonymous Coward · · Score: 0

      WordPerfect

    4. Re:Java and PHP? Wow that's relevant! by mermeid007 · · Score: 0

      Only problem with JDK and PHP is that they confusingly update the installation package and the environment variables every time its upgraded. If this holds you back, it does not mean the languages are the problem.

    5. Re:Java and PHP? Wow that's relevant! by Anonymous Coward · · Score: 0

      Java powers most of the web backend such as Amazon, Apple, and Netflix. Cloud based ERP and HRM providers such as SAP, Workday, and even Oracle all use Java for their application servers. PHP is still heavily used by such sites as WordPress and Wikipedia. Many standalone systems and network management applications are also written using PHP and Java.

    6. Re: Java and PHP? Wow that's relevant! by Anonymous Coward · · Score: 0

      Serious question: what's the modern language/framework to make websites nowadays?

      (Spare me Node.js please... What else is there other than J2EE, PHP.. perhaps Ruby/Rails?)

    7. Re: Java and PHP? Wow that's relevant! by afgam28 · · Score: 2

      Python is big. Go has been picking up a lot of traction lately.

    8. Re:Java and PHP? Wow that's relevant! by Gr8Apes · · Score: 1

      Good god I wish WP was dead. WordPress that is.

      --
      The cesspool just got a check and balance.
    9. Re: Java and PHP? Wow that's relevant! by Gr8Apes · · Score: 1

      Python is big. Go has been picking up a lot of traction lately.

      And both boast at best single digit percentages of projects.

      --
      The cesspool just got a check and balance.
  3. 10 versions later it still sucks. by Anonymous Coward · · Score: 1

    Still can't make a good IDE.

    1. Re:10 versions later it still sucks. by Anonymous Coward · · Score: 1

      Blows eclipse out of the godamned water.

    2. Re:10 versions later it still sucks. by Anonymous Coward · · Score: 1

      Eclipse isn't much competition, IMO. Now, if you had thought IntelliJ IDEA was the apt comparison, that would be a lot more interesting.

    3. Re:10 versions later it still sucks. by Anonymous Coward · · Score: 0

      IntelliJ isn't great, and certainly has faults. NetBeans, I've not used it since 7 or 8, because it just failed to do so many things. Eclipse is actually a pretty decent IDE for Java. It has short comings in the J2EE space if you're using XML/HTML/CSS/JSP etc.

    4. Re:10 versions later it still sucks. by Anonymous Coward · · Score: 0

      IntelliJ is Russia's backdoor into major Western banks etc.

      If you use that you're a gullible fucking idiot. No one in their right mind would use Russian built software now it's been exposed as Russia's way of fucking over the West instead of sorting their own shit out.

  4. add trailing commas in function calls by Anonymous Coward · · Score: 0

    yay!!! "add trailing commas in function calls" - took a major upgrade to add that?

  5. No current native support, no thanks. by mark-t · · Score: 3, Interesting

    Netbeans 8.2 remains the best C++ ide I have ever used. Nothing else has come close, in my experience.

    Given that they never supported C++ properly with Netbeans 9 (you could make it work, by using 8.2 plugins, to be fair, but it's far less complete than it was in 8.2), I expect that they probably never will with 10 either.

    1. Re:No current native support, no thanks. by iampiti · · Score: 2

      I'm curious? What others have you tried and what in your opinion makes Netbeans better?

    2. Re:No current native support, no thanks. by Anonymous Coward · · Score: 0

      It isn't trying to be a generic application platform so you don't pay the cost (memory, speed, etc.) of generality. Maven is first class, not a half supported plug-in that gets sideways 5 times a day as in Eclipse. The debugger is straightforward and efficient, unlike Idea.

    3. Re:No current native support, no thanks. by mark-t · · Score: 1

      What makes Netbeans better is the ability to import freeform projects with C++ code and its own Makefile, and Netbeans does not attempt to try to dictate what must be in this makefile. You just tell the IDE what rule to use to build your project, and identify the target executable and everything's good to go.

      As for other IDEs, I've use Eclipse fairly etensively, and also tried out Visual Studio Code and CLion.

    4. Re:No current native support, no thanks. by Dutch+Gun · · Score: 3, Informative

      I used 8.x for a while as well for my C++ projects. I'd say it was probably the best among the free IDEs I've tried on Linux.

      I've recently been moving my projects to CMake, as I was tired of maintaining multiple projects by hand, or rebuilding a project from scratch if I switch tools. Unfortunately, it doesn't seem to have a generator for Netbeans projects, so I've switched to Code::Blocks. It's a solid second choice that covers all the basics pretty well.

      I guess it's not surprising that no one has bothered with a CMake generator for Netbeans seeing as how C++ support appears to be a fairly low priority for Apache. I can't really blame them for that, as with limited developers, you have to pick your battles.

      --
      Irony: Agile development has too much intertia to be abandoned now.
    5. Re:No current native support, no thanks. by Anonymous Coward · · Score: 0

      I'm an emacs guy myself but give CodeBlocks a shot.

      It was great when I was first learning C++ and didn't want to have to fidget with emacs setup and screwing around with makefiles.

      Now that I got the hang of C++ I write in emacs with plugins and such but it was a fantastic out of box experience to me.

    6. Re:No current native support, no thanks. by Gr8Apes · · Score: 1

      ... Maven is first class, not a half supported plug-in that gets sideways 5 times a day as in Eclipse. The debugger is straightforward and efficient, unlike Idea.

      Perhaps because Maven isn't really a build tool? It's a dependency management tool? There's one thing I agree with the gradle folks on - Maven sucks as a build tool. Too bad gradle isn't any better - just change XML obscure verbosity for Groovy scripting obscurity. Oh, and I think now 5 years later they can finally handle a multi-target multiple component build. Maybe.

      --
      The cesspool just got a check and balance.
    7. Re:No current native support, no thanks. by Anonymous Coward · · Score: 0

      C/C++ features are in process of being donated.

  6. Slim chance of staying competitive with the greats by iampiti · · Score: 3, Informative

    As a long time user of Netbeans I was very saddened when Oracle decided to stop pouring money into it. A project of this size IMO needs financial support of a big company to stay competitive with the rest of the field. I'm afraid Netbeans won't be able to stay competitive with others IDE with backing from big (or just commercially interested) companies i.e.: Visual Studio, Eclipse, IDEA, etc.
    In addition, because of licensing reasons it currently lacks many plugins/features that were available in the times of 8.2. I hope most can return

  7. Re: Slim chance of staying competitive with the gr by Anonymous Coward · · Score: 0

    Totally agree. Itâ(TM)s already been falling behind and will continue to. No new ground breaking features will come :(

  8. On Linux, ok. by Anonymous Coward · · Score: 0

    I don't use commercial software when there are many free tools.

    Best available C++ IDE?

    1. Code::Blocks
    2. NetBeans for C/C++ developers.
    3. Eclipse for C/C++ developers.

    Best available Java IDE?

    1. NetBeans for Java developers.
    2. Eclipse for Java developers.

    Others?

    1. Geany
    2. jEdit
    3. Anjuta
    4. ...

    1. Re:On Linux, ok. by mark-t · · Score: 1

      The killer feature for Netbeans native development for me is the ability to import freeform Makefile projects that may have been developed in other environments, and doing so will not affect the build process used in such other environments if the code is shared.

  9. Does anyone still use CORBA? by PKI+Champion · · Score: 1

    Removing or leaving CORBA in seems like a dud feature. It's been 20 years since I did anything with CORBA. Does anyone still use CORBA?

  10. Ruby? by Anonymous Coward · · Score: 0

    Does it support Ruby?

    If not, I won't even bother looking at it.

    I liked Java - and used it for many years - but Ruby is far more efficient in terms of programming productivity for me for the kind of work I do today. It's also far superior to Python for what I do (my experiments have shown that it's faster to write, faster to test, and it runs faster on the types of applications I work on these days).

    Only a few of my legacy apps still require Java. But I can maintain these in Eclipse, there's just no return for learning a different platform.

  11. Re:Slim chance of staying competitive with the gre by Anonymous Coward · · Score: 0

    You've misunderstood the situation quite thoroughly. Developers at Oracle are still working on NetBeans, but now together with others from other companies too. The cost of ownership is now shared and, essentially, the game is now up: you either contribute to open source or open source dies. Simply using open source projects and being saddened or whatever and not actually contributing is no longer acceptable, it never was, but now even more so.

  12. For an installer see CoolBeans by Anonymous Coward · · Score: 0

    There's also a 'distribution' now of NetBeans called CoolBeans ( https://coolbeans.xyz ) which does provide a Windows installer / macOS image.