cd # go to home directory first wget -O jdk-8u152-linux-i586.tar.gz --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-i586.tar.gz tar xvfz jdk-8u152-linux-i586.tar.gz echo "PATH=\$PATH:$HOME/jdk1.8.0_152/bin" >>.profile PATH=$PATH:$HOME/jdk1.8.0_152/bin wget -O x30.jar tinybrain.de/x30.jar # Get JavaX # "java" and "javac" should now be usable. javac -version java -version java -jar x30.jar showversion
Also gets you x14.jar so you can run JavaX programs right away.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date | |
---|---|---|---|---|
460 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { cd # go to home directory first wget -O jdk-8u40-linux-i586.tar.gz --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u40-b25/jdk-8u40-linux-i586.tar.gz tar xvfz jdk-8u40-linux-i586.tar.gz echo "PATH=\$PATH:$HOME/jdk1.8.0_40/bin" >>.profile PATH=$PATH:$HOME/jdk1.8.0_40/bin wget -O x16.jar tinybrain.de/x16.jar # Get JavaX (v16) # "java" and "javac" should now be usable. javac -version java -version java -jar x16.jar showversion }} | 2015-08-18 15:57:00 | delete |
458 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
Snippet ID: | #601 |
Snippet name: | download-and-install-oracle-jdk.sh (old) |
Eternal ID of this version: | #601/4 |
Text MD5: | f6e37b993c5672a42e289ea33b244049 |
Author: | stefan |
Category: | |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-30 21:09:06 |
Source code size: | 556 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 1178 / 239 |
Version history: | 3 change(s) |
Referenced in: | [show references] |