Public | Automated Build

Last pushed: 6 months ago
Short Description
Eclipse Java IDE
Full Description

Eclipse IDE for Java Developers

The Eclipse IDE for Java Developers includes the essential tools for any Java developer, including a Java IDE, a Git client, XML Editor, Mylyn, Maven and Gradle integration.

System Requirements

  • An X11 server (see Usage for an OS X example).

Usage

Example OS X eclipse bash function:

eclipse(){
    # Reference - https://github.com/chanezon/docker-tips/blob/master/x11/README.md
    if [ -z "$(ps -ef|grep XQuartz|grep -v grep)" ] ; then
        open -a XQuartz
        socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
    fi
    DISPLAY_MAC=`ifconfig en0 | grep "inet " | cut -d " " -f2`:0
    docker run -d -it \
        -e DISPLAY=$DISPLAY_MAC \
        -e "TZ=America/Chicago" \
        --name eclipse \
        psharkey/eclipse
    echo -e "Eclipse started on $DISPLAY_MAC \xF0\x9f\x8d\xba"
}

On DockerHub / GitHub

Thanks

Based on batmat/docker-eclipse.

Refer to psharkey/novnc for an alternative X11 configuration.

Docker Pull Command
Owner
psharkey
Source Repository

Comments (0)