I had the same problem, but I'm not sure that my circumstances were exactly the same. I did not see an exception due to the lack of get_data , until I pushed my .jar to the network and tried to use it on WebStart (local hosting of WebStarting and running jar using java -jar worked fine).
Anyway, this is how I solved my problem:
import SomeClass url = SomeClass.getClassLoader().findResource('path/to/resource.txt') inputStream = url.openStream()
SomeClass is the Java class in my .jar file. This is most likely the Java class that I use to run the Jython interpreter, so I know that it will always be there.
source share