Skip to content
Snippets Groups Projects
Select Git revision
  • 12.4-beta2
  • master default protected
  • dependabot/github_actions/shivammathur/setup-php-2.34.1
  • vsnetbeans_2600
  • release260
  • dependabot/github_actions/shivammathur/setup-php-2.33.0
  • delivery
  • revert-8462-exclipboard2
  • vsnetbeans_2599
  • release250
  • vsnetbeans_2499
  • apidocfixfornb25
  • vscode-named-output
  • release240
  • revert-7983-NETBEANS-7981
  • vsnetbeans_2399
  • apidoctake2
  • apidocmaven
  • release230
  • sdedic/project/reload
  • vsnetbeans_2299
  • 26
  • 26-rc3
  • 26-rc2
  • 26-rc1
  • 25
  • 25-rc2
  • 25-rc1
  • 24
  • 24-rc5
  • 24-rc4
  • 24-rc3
  • 24-rc2
  • 24-rc1
  • 23
  • 23-rc3
  • 23-rc2
  • 23-rc1
  • 22
  • 22-rc4
  • 22-rc3
41 results

netbeans

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Geertjan Wielenga authored and GitHub committed
    Sync master to release124 for beta 2
    ed64962c
    History

    Apache NetBeans

    Apache NetBeans is an open source development environment, tooling platform, and application framework.

    Build status

    • GitHub actions
      • Apache Netbeans Continuous Integration
    • TravisCI:
      • Build Status
    • Apache Jenkins:
      • Linux: Build Status
      • Windows: Build Status

    Requirements

    • Git
    • Ant 1.9.9 or above
    • JDK 8 or 11 (to build NetBeans)
    • JDK 9 or above (to run NetBeans)
    • MinGW (optional), to build Windows Launchers

    Notes:

    • NetBeans also runs with JDK 8, although then it will not include tools for the JDK 9 Shell.
    • NetBeans license violation checks are managed via the rat-exclusions.txt file.
    • Set JAVA_HOME and ANT_HOME appropriately or leave them undefined.

    Building NetBeans

    Build with the default config (See the cluster.config property.)

    $ ant

    Build the basic project (mainly, JavaSE features):

    $ ant -Dcluster.config=basic

    Build the full project (including Groovy, PHP, JavaEE/JakartaEE, and JavaScript features):

    $ ant -Dcluster.config=full

    Build the NetBeans Platform:

    $ ant -Dcluster.config=platform

    Notes:

    Building Windows Launchers

    Windows launchers can be build using MinGW both on Windows and Linux.

    Note: In Windows MSYS must be installed.

    As of NETBEANS-1145, the Windows Launchers can be built adding do.build.windows.launchers=true property to the build process.

    $ ant -Ddo.build.windows.launchers=true
    Software Requirement to Build Windows Launchers on Ubuntu (16.04+):
    sudo apt install make mingw-w64

    Generating Javadoc

    Build javadoc:

    $ ant build javadoc

    Note Run javadoc-nb task in Netbeans to run the javadoc build and display it in a web browser.

    Running NetBeans

    Run the build:

    $ ant tryme

    Note: Look in nbbuild/netbeans for the NetBeans installation created by the build process.

    Get In Touch

    Subscribe or mail the users@netbeans.apache.org list - Ask questions, find answers, and also help other users.

    Subscribe or mail the dev@netbeans.apache.org list - Join development discussions, propose new ideas and connect with contributors.

    Download

    Developer builds can be downloaded: Latest build (netbeans-xxx.zip).

    Convenience binary of released source artifacts: https://netbeans.apache.org/download/index.html.

    Reporting Bugs

    Bugs should be reported to https://issues.apache.org/jira/projects/NETBEANS/issues/

    Full History

    The origins of the code in this repository are older than its Apache existence. As such significant part of the history (before the code was donated to Apache) is kept in an independent repository. To fully understand the code you may want to merge the modern and ancient versions together:

    $ git clone https://github.com/apache/netbeans.git
    $ cd netbeans
    $ git log platform/uihandler/arch.xml

    This gives you just few log entries including the initial checkin and change of the file headers to Apache. But then the magic comes:

    $ git remote add emilian https://github.com/emilianbold/netbeans-releases.git
    $ git fetch emilian # this takes a while, the history is huge!
    $ git replace 6daa72c98 32042637 # the 1st donation
    $ git replace 6035076ee 32042637 # the 2nd donation

    When you search the log, or use the blame tool, the full history is available:

    $ git log platform/uihandler/arch.xml
    $ git blame platform/uihandler/arch.xml

    Many thanks to Emilian Bold who converted the ancient history to his Git repository and made the magic possible!