Daltux
b310b6ccae
Improves package description. Improves README.md. Creates build script. Replaces clear text LICENSE by LICENSE.md (Markdown) from FSF |
||
---|---|---|
out | ||
.gitignore | ||
build.sh | ||
dummy-jdk-exclusive.equivs | ||
dummy-jdk-profile.sh | ||
LICENSE.md | ||
README.md |
dummy-jdk-deb
A tiny Debian package just for signalling to the packaging system that a Java Development Kit (JDK) is to be considered available.
Java
developers and heavy users commonly unpack a Java Virtual Machine
(JVM) tarball
somewhere (i.e. /opt
) and do not need nor wish to install a Java
package from the repositories, having its own list of dependencies, only
to satisfy a dependency to another packages.
This project allows you to install other Debian packages that need Java.
The package dummy-jdk-exclusive
actually conflicts with
java-common
. The commands java
, javac
etc. should be somewhere on
your PATH. If you wish, the easier way is just placing a symbolic link to
your preferred JVM at /usr/lib/jvm/default
. This location is going to
be checked by a system-wide shell profile file installed by this package
in /etc/profile.d/
. If the default dir exists, it will be set next
login to the environment variable JAVA_HOME
and its subdirectory bin
will be prepended to PATH
.
Installing
Check the repository Packages page for the latest version released. There are instructions for using APT or direct downloading the file.
Building
The artifact is built with a tool from package equivs
using:
equivs-build --full dummy-jdk-exclusive.equivs
Copyright, licensing and disclaimer
Copyright © 2023 Daltux
This program is Free Software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.