The goal is to have a have a headless server installation on a physical machine that only serves one service. In other words the server is dedicated to run a single task. You could also call this a bare metal appliance. The service requires Oracle/Sun Java version 6 or 7. The wish is that the Ubuntu installation is trimmed down in hard disk space. Secondary goal beside low disk space usage is less security updates to be installed for components that are not even used. Result: less reboots, and lower down time.
JeOS no longer exists. A virtual machine installation does not apply, as this installation will run on physical hardware. Ubuntu-13.10-server-amd64 "F4 Minimal installation" with "openssh-server" and "unattended-upgrades" still consumes 942 MB.
After purging unnecessary packages with sudo apt-get purge accountsservice apparmor console-setup eject ftp fuse geoip-database info iputils-tracepath iso-codes kbd krb5-locales language-selector-common laptop-detect locales man-db manpages memtest86+ mtr-tiny ntfs-3g os-prober parted plymouth-theme-ubuntu-text popularity-contest ppp pppconfig pppoeconf rsync sgml-base tasksel telnet ufw vim-common xauth xkb-data xml-core
there are 881 MB to remain.
How to install ubuntu or trim down an existing installation to consume minimal hard disk drive space?