Skip to content

Setup developer environment

Henrik Östman edited this page Apr 20, 2016 · 18 revisions

Here follows the steps I take to setup a complete developer environment.

Development environment

Even though an advanced texteditor would do, we recommend the use of an IDE to manage, compile and debug all Java code. There are several good ones, and we have chosen Netbeans from Oracle. It supports several different platforms, have good support for Java but also clientside stuff like HTML and Javascript, and last but not least it's free under the GPL license.

Download Netbeans here. (Take the Java EE-version to get HTML and javascript support)

If you still want to use an texteditor, we recommend Brackets.

Ubuntu

Install Java 8

See https://launchpad.net/~webupd8team/+archive/ubuntu/java

sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Setup JAVA_HOME by editing /etc/environment, and add:

JAVA_HOME=/usr/lib/jvm/java-8-oracle
JDK_HOME=/usr/lib/jvm/java-8-oracle

Run source /etc/environment

Test with echo $JAVA_HOME

Various softwares

sudo apt-get install git-core curl build-essential openssl libssl-dev nodejs ruby ruby-dev
sudo gem install compass
npm install -g n
sudo n stable
npm install -g yo grunt-contrib-compass grunt-mocha generator-ember

Checkout JEL from Git

mkdir jel && cd jel
git clone git://github.com/trycoon/JEL.git .

Mac OS X

  1. Go to the App Store application and choose to install Xcode.
  2. xcode-select --install
  3. Install Java 8: http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/
  4. export JAVA_HOME="/usr/libexec/java_home -v '1.8*'"
  5. Install Homebrew
  6. brew doctor
  7. brew update
  8. brew install vert.x
  9. mkdir jel && cd jel
  10. git clone https://github.com/trycoon/JEL.git .

Windows

[TDB] Any takers?


Missing any systems?

Clone this wiki locally