foundeo / ubuntu-nginx-lucee

Script for standing up a Lucee server using nginx and Tomcat on Ubuntu
Apache License 2.0
86 stars 47 forks source link

Enhancement download Oracle JVM #7

Closed mvanleest closed 7 years ago

mvanleest commented 8 years ago

I will create a pul request for this later, but the following will download the Oracle JVM with curl.

curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u65-b17/server-jre-8u65-linux-x64.tar.gz"

pfreitag commented 7 years ago

While it would be handy I'm going to close this issue, because I'm not sure about legal implications of doing this.

You can use the OpenJDK that ships with Ubuntu instead of downloading the Oracle JVM, this has the advantage of the OS updating it using apt-get.