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 J2SE Development Kit (JDK), version 6 and 7
34 - The J2SE Runtime Environment (JRE), version 6 and 7
35 - The J2SE API Javadoc, version 6 and 7
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 display help text and exit
56 output version information and exit
58 Download a supported Java RE or SDK or API tar.gz or self-extracting archive from
59 .B http://www.oracle.com/technetwork/java/javase/downloads
63 with the downloaded file. The program asks the user for additional
64 information and builds a Debian binary package in the current
67 The program requires about 200 MB free disk space in a temporary
68 directory. The temporary directory defaults to
70 but you can specify an alternate directory by setting the environment
71 variable \fITMPDIR\fR.
73 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:
75 make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz
77 This generate a Debian package in the current directory, that can be installed using dpkg:
79 dpkg \-i oracle-java7-jdk_7u2_amd64.deb
81 When you're done, you can delete initial download as well as generated package:
83 rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-java7-jdk_7u2_amd64.deb
88 base directory used for temporary files (defaults to /tmp)
90 .SM J2SE_PACKAGE_FULL_NAME
91 full name used in the maintainer field of the package; if none is supplied
92 then the default of "Debian Java Maintainers" is used.
94 .SM J2SE_PACKAGE_EMAIL
95 email address used in the maintainer field of the package; if none is supplied
96 the default of "pkg-java-maintainers@lists.alioth.debian.org" is used.
98 .BR update-java-alternatives(1)
100 This manual page was written by Hubert Schmid <j2se-package@z42.de>.
102 It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>.