Revision as of 12:04, 5 November 2009 by Admin (Talk | contribs)

Mobility Designer 2 - Step by step how to download and compile NetBeans sources from Mercurial repository


This tutorial shows how to download and compile NetBeans sources from Mercurial repository.


It's to installed following software:

  • Mercurial client
  • Apache Ant 1.7 or newer
  • JDK 1.5 or higher

How to "check out" NetBeans sources from repository:

  • create directory for NetBeans sources and name it "trunk"
  • cd trunk
  • hg clone
  • Usually it takes about 20 to 40 minutes to download sources.

How to compile it:

  • It's necessary to set additional system variable for Ant. For unix/linux systems type: export ANT_OPTS=-Xmx512m , for windows: set ANT_OPTS=-Xmx512m
  • inside of the trunk folder type: cd main
  • then: ant (to start compilation). Compilation is about 20-40 minutes, it depends on the hardware.
  • to run netbeans type: ant tryme (inside of main folder)

contact: Karol Harezlak

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo