diff options
Diffstat (limited to 'README.fedora')
-rw-r--r-- | README.fedora | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.fedora b/README.fedora new file mode 100644 index 0000000..c4a77c2 --- /dev/null +++ b/README.fedora @@ -0,0 +1,18 @@ +This Fedora package installs JavaFX 8 in a JDK/JRE-independent way. It is +up to each JDK/JRE to make use of it correctly. In general, you want to symlink +the shared object and the jar into somehwere where the JDK/JRE can find it. + +The process looks something like this: +openjfx_dir=/usr/lib/jvm/openjfx8 + +jdk_files=$(find $openjfx_dir/{bin,lib} -type f -print) +for file in $jdk_files; do + relative=${file#$openjfx_dir/} + ln -sfv "$openjfx_dir/$relative" "/usr/lib/jvm/java/$relative" +done + +jre_files=$(find $openjfx_dir/rt -type f -print) +for file in $jre_files; do + relative=${file#$openjfx_dir/rt/} + ln -sfv "$openjfx_dir/rt/$relative" "/usr/lib/jvm/jre/$relative" +done |