Sign inSign up

psharkey/eclipse

By psharkey

Updated over 9 years ago

Eclipse Java IDE

Image
8

4.7K

psharkey/eclipse repository overview

alt text

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.

Tag summary

Content type

Image

Digest

Size

392.2 MB

Last updated

over 9 years ago

docker pull psharkey/eclipse