简体   繁体   English

Mac OS Lion上带有PowerPC JavaApplicationStub的Java应用程序

[英]Java application with PowerPC JavaApplicationStub on Mac OS Lion

I maintain a java app for Mac that was written back in the PPC days, and its user was happily running it under Rosetta until he upgraded to lion. 我维护了一个Mac上的Java应用程序,该应用程序是在PPC时代写的,它的用户很高兴在Rosetta下运行它,直到他升级为狮子。 We tried switching out the JavaApplicationStub binary in the app folder, but this changed nothing (still crossed-out icon in dock and error message about PPC support when launched). 我们尝试在app文件夹中关闭JavaApplicationStub二进制文件,但这并没有改变(扩展坞中仍然划掉了图标,并在启动时显示了有关PPC支持的错误消息)。 Restarted, still nothing. 重新启动,仍然没有。

Not sure what's going on here. 不知道这是怎么回事。 I know the stub works, when I run itt from terminal the application runs fine. 我知道存根有效,当我从终端运行它时,应用程序运行良好。

Somehow, moving the app folder to another directory and back made the OS "notice" that the stub had been switched out. 不知何故,将app文件夹移到另一个目录并返回,使操作系统“注意到”存根已被关闭。 Mysterious. 神秘。 Perhaps someone with more MacOS knowledge can explain further. 也许具有更多MacOS知识的人可以进一步解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM