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 — Add jvisualvm to update-alternatives commands · aagutu/install-java@982995a

File tree

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

‎install-java.sh‎

Copy file name to clipboardExpand all lines: install-java.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fi
139139

140140
# Run update-alternatives commands
141141

142-
commands=( "jar" "java" "javac" "javadoc" "javah" "javap" "javaws" "jcmd" "jconsole" "jarsigner" "jhat" "jinfo" "jmap" "jmc" "jps" "jstack" "jstat" "jstatd" "keytool" "policytool" "wsgen" "wsimport" )
142+
commands=( "jar" "java" "javac" "javadoc" "javah" "javap" "javaws" "jcmd" "jconsole" "jarsigner" "jhat" "jinfo" "jmap" "jmc" "jps" "jstack" "jstat" "jstatd" "jvisualvm" "keytool" "policytool" "wsgen" "wsimport" )
143143

144144
if (confirm "Run update-alternatives commands?"); then
145145
echo "Running update-alternatives --install for ${commands[@]} mozilla-javaplugin.so"
Collapse file

‎uninstall-java.sh‎

Copy file name to clipboardExpand all lines: uninstall-java.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fi
7171

7272
# Run update-alternatives commands
7373

74-
commands=( "jar" "java" "javac" "javadoc" "javah" "javap" "javaws" "jcmd" "jconsole" "jarsigner" "jhat" "jinfo" "jmap" "jmc" "jps" "jstack" "jstat" "jstatd" "keytool" "policytool" "wsgen" "wsimport" )
74+
commands=( "jar" "java" "javac" "javadoc" "javah" "javap" "javaws" "jcmd" "jconsole" "jarsigner" "jhat" "jinfo" "jmap" "jmc" "jps" "jstack" "jstat" "jstatd" "jvisualvm" "keytool" "policytool" "wsgen" "wsimport" )
7575

7676
if (confirm "Run update-alternatives commands?"); then
7777
echo "Running update-alternatives --remove for ${commands[@]} mozilla-javaplugin.so"

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.