I hereby claim:
- I am tinkerware on github.
- I am tinkerware (https://keybase.io/tinkerware) on keybase.
- I have a public key whose fingerprint is 475F DCA1 A51B C188 3078 C5F0 DA9B F876 9040 E7ED
To claim this, I am signing this object:
config.vm.provision "shell", inline: <<-SHELL | |
apt-get -y -q update | |
apt-get -y -q upgrade | |
apt-get -y -q install software-properties-common htop | |
add-apt-repository ppa:webupd8team/java | |
apt-get -y -q update | |
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
apt-get -y -q install oracle-java8-installer | |
apt-get -y -q install oracle-java7-installer |
# JMH 1.4.1 (released 12 days ago) | |
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java | |
# VM options: <none> | |
# Warmup: 10 iterations, 10 s each | |
# Measurement: 5 iterations, 60 s each | |
# Timeout: 10 min per iteration | |
# Threads: 12 threads, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: com.squareup.okio.benchmarks.BufferPerformanceBench.cold | |
# Parameters: (maxReadBytes = 1024, maxThinkMicros = 1000, maxWriteBytes = 1024, requestSize = 2048, responseFactor = 16) |
# You will need Mercurial; get it with `brew install hg`. | |
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u | |
cd jdk8u | |
hg update jdk8u92-b14 | |
chmod +x ./get_source.sh; ./get_source.sh | |
cd hotspot/src/share/tools/hsdis | |
wget http://ftp.heanet.ie/mirrors/gnu/binutils/binutils-2.26.tar.gz | |
tar -xzf binutils-2.26.tar.gz | |
make BINUTILS=binutils-2.26 ARCH=amd64 |
I hereby claim:
To claim this, I am signing this object:
Recently, I upgraded my MacBook Pro from a old, trusty Yosemite to Sierra, and reluctantly had to clean out the old JDK versions I had accumulated over a few years. I also wanted to have a Java 9 JDK to play around with the new module system and API’s.
Good news is that, for a while now, you have been able to install and upgrade multiple versions of JDK using only your shell, without having to deal with Oracle’s graphical installers.
To install Java from scratch, install Homebrew Cask cask-update
(you need to have Homebrew already installed) first, then install Java using Cask:
brew tap buo/cask-upgrade & brew tap caskroom/versions
brew cask install java8