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

Robert Marcano robert at marcanoonline.com
Mon Jul 21 15:21:19 UTC 2014


On 07/18/2014 04:33 PM, allicoder 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.

Fedora did packaging changes recently in order to have a headless package

$ rpm -qa java\*head\*
java-1.8.0-openjdk-headless-1.8.0.5-3.b13.fc20.x86_64
java-1.7.0-openjdk-headless-1.7.0.65-2.5.1.2.fc20.x86_64

Probably Debian people could take something from it and split packages 
like that

>
> Best wishes,
> allicoder.
>




More information about the discuss mailing list