Install Netbeans on Mint17.3/Ubuntu 14.04 using docker

Install Netbeans on Mint17.3/Ubuntu 14.04 using docker

I was having difficulties with installing Netbeans on a Mint 17.3 machine and decided to try to use Docker for a quick fix and I was impressed, as usual with Docker, with its ease of use. This post is just a summary of a main article found on https://hub.docker.com/r/fgrehm/netbeans/.

Open a terminal and type

docker run -ti --rm \
           -e DISPLAY=$DISPLAY \
           -v /tmp/.X11-unix:/tmp/.X11-unix:rw \
           -v `pwd`/.netbeans-docker:/home/developer/.netbeans \
           -v `pwd`:/workspace \
           fgrehm/netbeans:v8.0.1

That’s it…

Note : if Netbeans does not start after typing this command, it is probably a x11 issue. Just type

xhost local:root

and retry the above command.


Leave a Reply

Your email address will not be published. Required fields are marked *