Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a 64-bit linux distro available that is made to run a Java JVM inside of it? What I mean, is that it would be nice to have a simpler distribution of Linux that is small and fast to setup that is designed only to run a Java server.

I need to configure my 64-bit JVM with 2GB-3GB of max heap.

If not, any recommendations on which Linux server distro to use? How is OpenSolaris? Any benefit to using that? The base memory footprint of OpenSolaris is 708MB. Thats way too big. It needs to be under 400MB for sure.

share|improve this question
up vote 0 down vote accepted

There are several minimalist Linuxes where you can just install what you need. Ubuntu Server would probably be easiest to set up, but if all you want is Java, you could probably get Arch running like that pretty easily. Just do a base install and then:

pacman -Sy jdk jre

You could get it booting real fast and light since you wouldn't need any daemons running except network (and probably sshd).

share|improve this answer

I don't know of any distro that is designed just to run a JVM -- it'd be a pretty niche thing. Any distribution you're familiar with should be able to do the job. I prefer Debian, myself, but it's more important to pick something you (or whoever will be managing the system day-to-day) is comfortable with.

share|improve this answer

I can't think of a linux distro that's designed to run just java JVM.

However, I've always found that Ubuntu is pretty fast to deploy java apps (especially Tomcat6) on, apt-get handles the majority of the configuration as well as all of the installation.

Just make sure you use sun-java6-bin, and not gcj, and it'll be fine!

share|improve this answer

A long time ago, I rolled my own Linux distro that included a bare kernel and the latest JVM with a few-liner init scripts. It was fun to try and integrate JVM instantiation within init and kernel start, but had limited usage.

Are you rather looking for a distro that would be geared specifically for employing JVM instances?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.