genodeftest / rpms / openjfx

Forked from rpms/openjfx a year ago
Clone

Blame README.fedora

4a762d
This Fedora package installs JavaFX in a JDK/JRE-independent way. It is
4a762d
up to each JDK/JRE to make use of it correctly. In general, you want to symlink
4a762d
the shared object and the jar into somehwere where the JDK/JRE can find it.
4a762d
4a762d
The process looks something like this:
4a762d
openjfx_dir=/usr/lib/jvm/openjfx
4a762d
4a762d
jdk_files=$(find $openjfx_dir/{bin,lib} -type f -print)
4a762d
for file in $jdk_files; do
4a762d
  relative=${file#$openjfx_dir/}
4a762d
  ln -sfv "$openjfx_dir/$relative" "/usr/lib/jvm/java/$relative"
4a762d
done
4a762d
4a762d
jre_files=$(find $openjfx_dir/rt -type f -print)
4a762d
for file in $jre_files; do
4a762d
  relative=${file#$openjfx_dir/rt/}
4a762d
  ln -sfv "$openjfx_dir/rt/$relative" "/usr/lib/jvm/jre/$relative"
4a762d
done