OS X Java .app bundle cannot open other apps?

点点圈 提交于 2019-12-02 09:18:35

If steam: is a registered URL type, you can use org.eclipse.swt.program.Program#launch(String). For example:

org.eclipse.swt.program.Program.launch("steam://rungameid/57300//");

Magnus Bull

I'm answering this myself because the problem was my own setup. Specifically it was the bundled runtime I was using. I wrote a more in-depth answer in my other question here:

Java on OS X: “open” command won't run if .app package contains a JVM bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!