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 pattern to match JDK 8 update 102 · unoexperto/install-java@11304f6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • install-java.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Oracle Java installation script for Linux
33

44
"install-java.sh" is an installation script for setting up Oracle Java Development Kit on Linux.
55

6-
I'm mainly using Ubuntu and therefore this script is tested only on Ubuntu versions. I have tested this script on Ubuntu 14.04 and Ubuntu 15.04 versions.
6+
I'm mainly using Ubuntu and therefore this script is tested only on Ubuntu versions. I have tested this script on Ubuntu 14.04, Ubuntu 15.04 and Ubuntu 16.04 versions.
77

88
## Prerequisites
99

@@ -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-8u51-linux-x64.tar.gz
27-
- jdk-8u51-linux-x64-demos.tar.gz
26+
- jdk-8u102-linux-x64.tar.gz
27+
- jdk-8u102-linux-x64-demos.tar.gz
2828
- jce_policy-8.zip
2929

3030
The Java Demos and Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy files are optional.
@@ -49,7 +49,7 @@ Example: Install Oracle JDK 7
4949

5050
Example: Install Oracle JDK 8
5151

52-
`sudo ./install-java.sh -f ~/Software/jdk-8u51-linux-x64.tar.gz`
52+
`sudo ./install-java.sh -f ~/Software/jdk-8u102-linux-x64.tar.gz`
5353

5454
## Uninstallation
5555

@@ -70,7 +70,7 @@ Example: Uninstall Oracle JDK 7
7070

7171
## License
7272

73-
Copyright (C) 2014-2015 M. Isuru Tharanga Chrishantha Perera
73+
Copyright (C) 2014-2016 M. Isuru Tharanga Chrishantha Perera
7474

7575
Licensed under the Apache License, Version 2.0
7676

Collapse file

‎install-java.sh‎

Copy file name to clipboardExpand all lines: install-java.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fi
9090

9191
java_dist_filename=$(basename $java_dist)
9292

93-
dirname=$(echo $java_dist_filename | sed 's/jdk-\([78]\)u\([0-9]\{2\}\)-linux.*/jdk1.\1.0_\2/')
93+
dirname=$(echo $java_dist_filename | sed 's/jdk-\([78]\)u\([0-9]\{2,3\}\)-linux.*/jdk1.\1.0_\2/')
9494

9595
extracted_dirname=$java_dir"/"$dirname
9696

@@ -110,7 +110,7 @@ fi
110110

111111
# Install Demos
112112

113-
demos_dist=$(dirname $java_dist)/$(echo $java_dist_filename | sed 's/jdk-\([78]u[0-9]\{2\}\)-linux-\(.*\).tar.gz/jdk-\1-linux-\2-demos.tar.gz/')
113+
demos_dist=$(dirname $java_dist)/$(echo $java_dist_filename | sed 's/jdk-\([78]u[0-9]\{2,3\}\)-linux-\(.*\).tar.gz/jdk-\1-linux-\2-demos.tar.gz/')
114114

115115
if [[ -f $demos_dist && ! -d $extracted_dirname/demo ]]; then
116116
# No demo directory

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.