If one is building libreoffice with java enabled these two packages are bundled within:
There should be configure option to build this against system jars instead of using these bundled ones.
Thanks for bugreport
How is current situation there?
It is still present.
Feel free to write patches for this.
I more focused on the other stuff, incorporating new stuff correctly over these issues. Thats why I opened this bug (now I think I should find some time to convert it to easy hack as we have gbuild custom target).
Thanks for additional information
Tomas Chvatal committed a patch related to this issue.
It has been pushed to "master":
Allow usage of system rhino wrt fdo#42977
I am closing this bug as it has been resolved according to the last comment and committed to master. Thanks Tomas for doing this :)