table of contents
MAKE-JPKG(1) | General Commands Manual | MAKE-JPKG(1) |
NAME¶
make-jpkg - builds Debian packages from Java binary distributionsSYNOPSIS¶
make-jpkg [ OPTION]... [FILE]DESCRIPTION¶
make-jpkg builds a Debian package from the given Java distribution FILE. Supported java binary distributions currently include:* Oracle (http://www.oracle.com/technetwork/java/javase/downloads) :
- The Java Development Kit (JDK), version 6, 7 and 8
- The Java Runtime Environment (JRE), version 6, 7 and 8
- The Java API Javadoc, version 6, 7 and 8
(Choose tar.gz archives or self-extracting archives, do _not_ choose the RPM!) The following options are recognized:
- --full-name NAME
- full name used in the maintainer field of the package
- --email EMAIL
- email address used in the maintainer field of the package
- --changes
- create a .changes file
- --revision
- add debian revision
- --source
- build a source package instead of a binary deb package
- --help
- display help text and exit
- --version
- output version information and exit
EXAMPLE¶
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:- make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz
- dpkg -i oracle-java7-jdk_7u2_amd64.deb
- rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-java7-jdk_7u2_amd64.deb
ENVIRONMENT¶
- TMPDIR
- base directory used for temporary files (defaults to /tmp)
- J2SE_PACKAGE_FULL_NAME
- full name used in the maintainer field of the package; if none is supplied then the default of "Debian Java Maintainers" is used.
- J2SE_PACKAGE_EMAIL
- email address used in the maintainer field of the package; if none is supplied the default of "pkg-java-maintainers@lists.alioth.debian.org" is used.
SEE ALSO¶
update-java-alternatives(1)AUTHOR¶
This manual page was written by Hubert Schmid <j2se-package@z42.de>. It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>.January 22, 2012 |