]> git.sven.stormbind.net Git - sven/java-package.git/blob - make-jpkg.1
Fixed the detection of the latest Java 8 documentation archives
[sven/java-package.git] / make-jpkg.1
1 .\"                                      Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH MAKE-JPKG 1 "January 22, 2012"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh        disable hyphenation
10 .\" .hy        enable hyphenation
11 .\" .ad l      left justify
12 .\" .ad b      justify to both left and right margins
13 .\" .nf        disable filling
14 .\" .fi        enable filling
15 .\" .br        insert line break
16 .\" .sp <n>    insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19 make-jpkg \- builds Debian packages from Java binary distributions
20 .SH SYNOPSIS
21 .B make-jpkg
22 [\fIOPTION\fR]... [\fIFILE\fR]
23 .SH DESCRIPTION
24 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
25 .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
26 .\" respectively.
27 .PP
28 \fBmake-jpkg\fP builds a Debian package from the given Java
29 distribution FILE.
30 .PP
31 Supported java binary distributions currently include:
32   * Oracle (http://www.oracle.com/technetwork/java/javase/downloads) :
33     - The Java Development Kit (JDK), version 6, 7 and 8
34     - The Java Runtime Environment (JRE), version 6, 7 and 8
35     - The Java API Javadoc, version 6, 7 and 8
36   (Choose tar.gz archives or self-extracting archives, do _not_ choose the RPM!)
37 .PP
38 The following options are recognized:
39 .TP
40 .B --full-name \fINAME\fR
41 full name used in the maintainer field of the package
42 .TP
43 .B --email \fIEMAIL\fR
44 email address used in the maintainer field of the package
45 .TP
46 .B --changes
47 create a .changes file
48 .TP
49 .B --revision
50 add debian revision
51 .TP
52 .B --source
53 build a source package instead of a binary deb package
54 .TP
55 .B --with-system-certs
56 Replace the JVMs keystore with a softlink to the system's keystore,
57 (/etc/ssl/certs/java/cacerts) which is managed automatically by the
58 ca-certificates and ca-certificates-java packages.
59 .TP
60 .B --help
61 display help text and exit
62 .TP
63 .B --version
64 output version information and exit
65 .PP
66 Download a supported JRE, JDK, API tar.gz or self-extracting archive from
67 .B http://www.oracle.com/technetwork/java/javase/downloads
68 and execute
69 .B make-jpkg
70 .I file
71 with the downloaded file. The program asks the user for additional
72 information and builds a Debian binary package in the current
73 directory.
74 .PP
75 The program requires about 200 MB free disk space in a temporary
76 directory. The temporary directory defaults to
77 .I /tmp
78 but you can specify an alternate directory by setting the environment
79 variable \fITMPDIR\fR.
80 .SH EXAMPLE
81 To install Oracle(TM) 7 Standard Edition JDK, download a release - 64 bits version of update 2 from http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html in this example - and invoke make-jpkg:
82 .IP
83 make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz
84 .PP
85 This generate a Debian package in the current directory, that can be installed using dpkg:
86 .IP
87 dpkg \-i oracle-java7-jdk_7u2_amd64.deb
88 .PP
89 When you're done, you can delete initial download as well as generated package:
90 .IP
91 rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-java7-jdk_7u2_amd64.deb
92 .PP
93 .SH ENVIRONMENT
94 .TP
95 .SM TMPDIR
96 base directory used for temporary files (defaults to /tmp)
97 .TP
98 .SM J2SE_PACKAGE_FULL_NAME
99 full name used in the maintainer field of the package; if none is supplied
100 then the default of "Debian Java Maintainers" is used.
101 .TP
102 .SM J2SE_PACKAGE_EMAIL
103 email address used in the maintainer field of the package; if none is supplied
104 the default of "pkg-java-maintainers@lists.alioth.debian.org" is used.
105 .SH SEE ALSO
106 .BR update-java-alternatives(1)
107 .SH AUTHOR
108 This manual page was written by Hubert Schmid <j2se-package@z42.de>.
109
110 It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>.