Open
【22.03 LTS】【arm/x86】jython -jar 选项无法运行 jar 包 #3
zubinshuo2Add on Aug 8, 2022
Aug 8, 2022 创建了任务
openeuler-ci-bot
Aug 8, 2022 Comments:
Aug 8, 2022 Comments:
Hi zubinshuo2, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Java, and any of the maintainers: @rita_dong , @sinever , @wangchong1995924 , @luo-haibo , @caodongxia , @cherry530


Aug 8, 2022 添加了
sig/sig-Java
标签
Aug 8, 2022 修改了描述
Aug 8, 2022 修改了标题
Aug 8, 2022 修改了描述
Aug 8, 2022 修改了描述
【标题描述】


软件描述:
-jar jar : program read from __run__.py in jar file
在实际测试中 -jar 选项未能成功执行jar包
【环境信息】
【问题复现步骤】
根据 https://wiki.python.org/jython/JythonFaq/DistributingJythonScripts 构建 jar 包
dnf install -y jython
jython -jar test.jar
出现概率(是否必现,概率性错误):必现
【预期结果】
返回成功执行 jar 包
【实际结果】
/usr/share/jython/bin/jython: No module named __main__
【附件信息】