Skip to content

Instantly share code, notes, and snippets.

View streamnsight's full-sized avatar

Emmanuel Leroy streamnsight

  • Oracle
  • Santa Cruz, CA
View GitHub Profile
@dvdsmpsn
dvdsmpsn / gist:5863690
Last active July 3, 2020 03:15
Tips for installing Oracle Java on a headless VM

Installing Oracle Java on a headless VM

Oracle requires you to login and accept a license agreement before downloading the JDK. This is tiresome especially if your VM has no display. This is a workaround for the tiresomeness.

In a browser on the host machine

  1. Browse to http://www.oracle.com/technetwork/java/javase/downloads/index.html or go to the archive page for an older version
  2. Select the correct version of Java
  3. Accept License Agreement
  4. Login to Oracle - the setup file starts to download