diff options
author | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
---|---|---|
committer | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
commit | 35e44a32786ddd1cc146aee015874fd7ae63820e (patch) | |
tree | fab5ed58f2b36a5e432c2b6348be7cfb91a9dab0 /README.fedora | |
download | openjfx8-fork-master.tar.gz openjfx8-fork-master.tar.xz openjfx8-fork-master.zip |
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 |