Skip to content

Instantly share code, notes, and snippets.

@namioka
Last active April 28, 2018 03:05
Show Gist options
  • Save namioka/d679de80ce1ed0df4c26 to your computer and use it in GitHub Desktop.
Save namioka/d679de80ce1ed0df4c26 to your computer and use it in GitHub Desktop.
Apache NetBeans (incubating)

Apache NetBeans (incubating)

Build

#tar -zxvf incubator-netbeans-9.0-beta-rc3.tar.gz
#cd incubator-netbeans-9.0-beta-rc3

$ git clone https://github.com/apache/incubator-netbeans.git
$ cd ./incubator-netbeans
$ git fetch origin --prune
$ git checkout master

$ export JAVA_HOME=/usr/java/jdk1.8.0_171
$ ${JAVA_HOME}/bin/java -version
$ export ANT_HOME=${HOME}/apache-ant-1.10.3
$ export ANT_OPTS="-Xmx1G"
$ ${ANT_HOME}/bin/ant -version

$ ant
$ echo $?

$ mv \
    nbbuild/netbeans/ \
    $HOME/incubator-netbeans-$(git log master -1 | grep -E '^commit .*' | awk '{print $2}' | cut -b 1-12)

# Add below configurations to netbeans_default_options (etc/netbeans.conf)
-J-Duser.language=en -J-Duser.region=US -J-Dfile.encoding=UTF-8 -J-Dawt.useSystemAAFontSettings=lcd

Tools/Options

  • .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
  • Source Code Pro 12 (RGB 51/51/51/255)

Run

bin/netbeans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment