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.
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)
19 make-jpkg \- builds Debian packages from Java binary distributions
22 [\fIOPTION\fR]... [\fIFILE\fR]
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,
28 \fBmake-jpkg\fP builds a Debian package from the given Java
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!)
38 The following options are recognized:
40 .B --full-name \fINAME\fR
41 full name used in the maintainer field of the package
43 .B --email \fIEMAIL\fR
44 email address used in the maintainer field of the package
47 create a .changes file
53 build a source package instead of a binary deb package
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.
61 display help text and exit
64 output version information and exit
66 Download a supported JRE, JDK, API tar.gz or self-extracting archive from
67 .B http://www.oracle.com/technetwork/java/javase/downloads
71 with the downloaded file. The program asks the user for additional
72 information and builds a Debian binary package in the current
75 The program requires about 200 MB free disk space in a temporary
76 directory. The temporary directory defaults to
78 but you can specify an alternate directory by setting the environment
79 variable \fITMPDIR\fR.
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:
83 make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz
85 This generate a Debian package in the current directory, that can be installed using dpkg:
87 dpkg \-i oracle-java7-jdk_7u2_amd64.deb
89 When you're done, you can delete initial download as well as generated package:
91 rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-java7-jdk_7u2_amd64.deb
96 base directory used for temporary files (defaults to /tmp)
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.
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.
106 .BR update-java-alternatives(1)
108 This manual page was written by Hubert Schmid <j2se-package@z42.de>.
110 It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>.