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
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: install-java.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
139 | 139 |
|
140 | 140 | # Run update-alternatives commands |
141 | 141 |
|
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" ) |
143 | 143 |
|
144 | 144 | if (confirm "Run update-alternatives commands?"); then |
145 | 145 | echo "Running update-alternatives --install for ${commands[@]} mozilla-javaplugin.so" |
|
Collapse file
Copy file name to clipboardExpand all lines: uninstall-java.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
71 | 71 |
|
72 | 72 | # Run update-alternatives commands |
73 | 73 |
|
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" ) |
75 | 75 |
|
76 | 76 | if (confirm "Run update-alternatives commands?"); then |
77 | 77 | echo "Running update-alternatives --remove for ${commands[@]} mozilla-javaplugin.so" |
|