GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Updated Readme. Added instructions to automate Java installation · unoexperto/install-java@06a77b0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+14-6Lines changed: 14 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ I'm mainly using Ubuntu and therefore this script is tested only on Ubuntu versi
99

1010
The script uses "unzip" command. Therefore please make sure it is installed.
1111

12-
`sudo apt-get install unzip`
12+
`sudo apt install unzip`
1313

1414
The "install-java.sh" script will not download the Java distribution. You need to [download JDK] from Oracle.
1515

@@ -23,8 +23,8 @@ For example, if you want to install Java 7, following files should be downloaded
2323

2424
Similarly for Java 8, following are the files required
2525

26-
- jdk-8u102-linux-x64.tar.gz
27-
- jdk-8u102-linux-x64-demos.tar.gz
26+
- jdk-8u131-linux-x64.tar.gz
27+
- jdk-8u131-linux-x64.tar.gz
2828
- jce_policy-8.zip
2929

3030
The Java Demos and Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy files are optional.
@@ -45,11 +45,19 @@ install-java.sh -f <java_dist> [-p] <java_dir>
4545

4646
Example: Install Oracle JDK 7
4747

48-
`sudo ./install-java.sh -f ~/Software/jdk-7u80-linux-x64.tar.gz`
48+
`sudo ./install-java.sh -f ~/software/java/jdk-7u80-linux-x64.tar.gz`
4949

5050
Example: Install Oracle JDK 8
5151

52-
`sudo ./install-java.sh -f ~/Software/jdk-8u102-linux-x64.tar.gz`
52+
`sudo ./install-java.sh -f ~/software/java/jdk-8u131-linux-x64.tar.gz`
53+
54+
## Automate Java Installation
55+
56+
You can automate the Java installation script by using the `yes` command.
57+
58+
Example: Install Oracle JDK 8
59+
60+
`yes | sudo ./install-java.sh -f ~/software/java/jdk-8u131-linux-x64.tar.gz`
5361

5462
## Uninstallation
5563

@@ -70,7 +78,7 @@ Example: Uninstall Oracle JDK 7
7078

7179
## License
7280

73-
Copyright (C) 2014-2016 M. Isuru Tharanga Chrishantha Perera
81+
Copyright (C) 2014 M. Isuru Tharanga Chrishantha Perera
7482

7583
Licensed under the Apache License, Version 2.0
7684

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.