I don't use openjdk environment, and I've got oracle java installed, then linked the java / javac binaries to /usr/bin
.
Now when I build packages that requires java-runtime
package, I had to edit the PKGBUILD everytime to strip off the dependency of that package.
So, can I insert a record somewhere, so that make pacman believe java-runtime
is installed already?
EDIT
I didn't use any package to install oracle java, I just extracted it some where then linked the binaries to $PATH
provides
PKGBUILD directive. – Chris Down Apr 25 '13 at 06:14java-runtime
. It also provides scripts for/etc/profile.d
that automatically add the java folder to your $PATH, set $JAVA_HOME and whatnot making the manual linking to/usr/bin
unnecessary. – Wieland Apr 25 '13 at 08:29package
function to just/bin/true
) but it is not a good idea. Unless you have a very good reason not to, you should really install a package for the JRE and be done with it. – Wieland Apr 25 '13 at 12:58