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

Ivan Krylov ivan at
Sun Jul 20 19:18:14 UTC 2014

You might be ok with simply downloading the tar.gz linux binary bundle for 7 or 8. 
If disk space is a concern then yes, compact profiles is the way to go (8 only).


On 19 Jul 2014, at 01:03, allicoder <aredocilla at> wrote:

> 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,
> allicoder.

More information about the discuss mailing list