英文:
How to run java jar which includes python file using command promt
问题
我从我的Java类中调用.py文件。我在eclipse的市场中使用了pyDev Python解释器。当我在eclipse的Java主方法中调用时,我能够从.py文件中获取输出。
现在我已经创建了该Maven项目的jar文件,并尝试使用命令提示符执行jar文件。但我没有从.py文件中获得结果。
我应该如何获得那个输出。
英文:
I am calling .py file from my Java class. I used pyDev python interpreter from marketplace in eclipse. When I am calling from java main method in eclipse, I am able to get output from .py file.
Now I have created jar file of that maven project and trying to execute jar using command prompt. But I am not getting results from .py file.
How should I get that output.
专注分享java语言的经验与见解,让所有开发者获益!
评论