It might make sense to copy these jars into a different location that does not have the scala version in the path (in the python code), then reference that location in this Scala runner.