OpenJDK: JDK on headless machine, no X, no GNOME etc.

allicoder aredocilla at
Fri Jul 18 21:03:20 UTC 2014

Hi all,

I have a headless Debian machine (Wheezy), and I'd like to use it for
some Android (ROM) development. This means I need Java on it, but the
default packages (openjdk-7-jdk et al) pull in X and GNOME packages and
lots of other things I don't need. openjdk-7-jre-headless isn't going to
help because it won't have javac etc. Is there a way to install the JDK
tools on this box without having to pull in all the graphical
dependencies I won't need? I'm happy to rebuild OpenJDK if needed.

Best wishes,

More information about the discuss mailing list