I recently migrated a number of websites from a server running RHEL 6 to one running RHEL 7. One site uses pdftk, which has a dependency on libgcj, which is apparently no longer supported under RHEL 7. (At least, I have not found a repo advertising it.) It seems that libgcj is required to compile pdftk from source.
I still have access to the old server. It has a compiled binary of pdftk. Is it possible I could just copy that over to the new RHEL 7 server, even though it was compiled in RHEL 6? What would the risks be of testing this theory out? (i.e. can I damage anything trying this?)