And using a "virtual environment" with a specific version of the interpreter is a common workflow for python, and sometimes ruby
Yeah but Ruby and Python aren't relocatable so it's hard to ship a self-contained interpreter with the program itself. This is due to their reliance on system paths among other things.
You can trivially ship a self-contained JVM that is completely isolated within a single directory.
As far as I know, it's not hard to ship a JVM runner with the installer of your program, so this should be a non-issue.