Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I call a jython script from java -jar myjar.jar?

I have a python script that I believe I can convert to jython. I want to call java -jar myjar.jar to launch my application. Is it possible to call that command, and have the main class call that script (does it have to be converted to jython)? The script launches my program. Let me know, it might sound a little roundabout, but it could save a ton of development time and deliver a solution for the short-term.

like image 743
smuggledPancakes Avatar asked May 10 '26 00:05

smuggledPancakes


1 Answers

You can create a jar base on you Jython

http://wiki.python.org/jython/JythonFaq/DistributingJythonScripts

like image 145
Federico Avatar answered May 12 '26 13:05

Federico



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!