-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
oraji.1
59 lines (52 loc) · 1.71 KB
/
oraji.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.TH oraji 1 "Jan 09, 2016" "GNU/Linux" "Utility"
.UC 4
.SH "NAME"
oraji - Oracle Java Installer
.SH "SYNOPSIS"
.B oraji
.I path/to/the/jdk_or_jre_archive
.IP "oraji [-i, -u, -c, -s, -h, -v]"
.SH DESCRIPTION
Oracle Java (jdk/jre) installler script for Linux. It simplifies the installation of Oracle Java from a downloaded source (tar.gz). It also maintains consistency among multiple versions of Java (jdk/jre) installed with this script. Uninstalling any Java version installed with this script will fall back to the next most recently installed (with this script) version of Java.
.SH USAGE
Install Java:
.RS
Run
.B "sudo oraji '/path/to/the/jdk_or_jre_archive'"
to install Java from the archive.
.RE
Uninstall Java:
.RS
Run
.B oraji -u
and confirm the version.
.RE
.SH OPTIONS
.IP "-i, --install"
Takes a second parameter as path to jdk or jre archive and installs java.
.IP "-u, --uninstall"
Uninstalls Java installed with oraji. An extra argument can be passed with this option as version, but don't do that unless you know what you are doing; just use
.B oraji -u
and confirm the version, it's safe.
.IP "-s, --set"
Takes an optional second parameter as java version in the form: jdk|jre<version_number> (e.g jdk1.8.0_92) and sets this version of java as the active one. If the second parameter is not given, a selection menu will be presented.
.IP "-c, --check"
Display the available java versions as well as the currently active one.
.IP "-v, --version"
Shows version info.
.IP "-h, --help"
Show help
.SH LINKS
BUGREPORT
.RS
https://github.com/neurobin/oraji/issues
.RE
SOURCE
.RS
https://github.com/neurobin/oraji
.RE
.SH AUTHOR
Md. Jahidul Hamid
@Github: https://github.com/neurobin
Email username: jahidulhamid
Email domain: yahoo.com