wget --no-cookies --header "Cookie: gpw_e24=xxx; oraclelicense=accept-securebackup-cookie;" http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz
tar xzf jdk-10.0.2_linux-x64_bin.tar.gz
rm -rf jdk-10.0.2_linux-x64_bin.tar.gz
mv /usr/local/src/jdk-10.0.2 /usr/local/jdkv10
alternatives --install /usr/bin/java java /usr/local/jdkv10/bin/java 2
alternatives --install /usr/bin/jar jar /usr/local/jdkv10/bin/jar 2
alternatives --install /usr/bin/javac javac /usr/local/jdkv10/bin/javac 2
alternatives --set jar /usr/local/jdkv10/bin/jar
alternatives --set javac /usr/local/jdkv10/bin/javac
- Give it execution permission with
chmod +x install-jdk10.sh
We tend to live like everything is going well, as if failure would only happen at some big little moments in life, when things don’t go our way:
- Broken relationships.
- Failed exams.
- Unsuccessful job interviews.
- A friend is not there for you.
But that’s quite unfair. Reality is way more subtle than that. What we perceive as failure is generally just a mismatch between our expectations and reality. This mismatch is not shaped in an instant, but on the accumulation of moments where what we do doesn’t really fit with what we know we should be doing. But we keep going. And, at some point, we’re confronted with the gap between where we thought we were and where we really are.
In a way, failure is an illusion. Something completely open to reinterpretation, depending on the perspective from which is looked upon. Realising about the existence of this gap, embracing it, is the first step towards the path of success (which is also an illusion, by the way).
To fail is, for me, an occasion to re-evaluate, a chance to see reality as it is, not as I thought it was. To succeed is to act as a result of that re-evaluation. Failure and success happen every day, all the time, in a constant succession of trial and error events. Embracing this chaos, fearless and honest, is the healthiest thing we can do.
And now, what you were all waiting for, a few motivational quotes.