No default Java 8 in Ubuntu 14.04 droplet available?

Posted February 26, 2016 3.2k views

I just created my first ubuntu node to test how fast I’m able to deploy some microservices driven by java-8 and spring-boot .

Why are there just outdated java 6 java 7 runtimes available, and no java 8?

To inject an openjdk-8 by myself is not really a problem;
but to test some infrastructure with 100 nodes in the future, I would expect java 8 as a default option.

If this is a resource issue, you could get rid of obsolete java-6.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Our Ubuntu 14.04 image is based on a default LTS server installation. We do not currently install additional packages or repositories (aside from adjusting the defaults to use our mirrors of the official repos in order to save bandwidth and increase speed).

In the scenario where you would be spinning up 100+ nodes you could create a single droplet, install any additional needed packages and make any configuration adjustments and then create a snapshot of it. Then you can spin up as many copies of your configuration as you want by using the snapshot image instead of the official OS image.

  • Thanks for you answer, I understand your point and just missed the reasonable LTS thing (actually I also prefer the long term support ubuntu).

    Building an image before spinning up some copies is required for us anyway. So providing Java 8 by ourselves is just an acceptable additional setup step.