[英]How do you run a Java UI application as a Group Custom User Inteface for windows (Possibly using Group Policies)?
I've tried setting the Custom User Interface GPO option to 我尝试将“自定义用户界面GPO”选项设置为
java -jar GyroUI.jar java -jar GyroUI.jar
as well as using the full path 以及使用完整路径
C:\\Program Files\\jre7\\bin\\java.exe -jar GyroUI.jar C:\\ Program Files \\ jre7 \\ bin \\ java.exe -jar GyroUI.jar
But neither seem to result in anything except the desktop background. 但是,除了桌面背景之外,似乎没有其他结果。
I know this works normally as I can run the jar file just fine using the command prompt, and I get the UI as expected. 我知道这正常工作,因为我可以使用命令提示符运行jar文件,并且按预期方式获得UI。
C:\\Program Files\\jre7\\bin\\java.exe -jar "C:\\Program Files\\Sahara\\GyroUI.jar" C:\\ Program Files \\ jre7 \\ bin \\ java.exe -jar“ C:\\ Program Files \\ Sahara \\ GyroUI.jar”
Ended up being the solution, the problem was being caused by the application crashing, not by the shell failing to launch. 最终成为解决方案,问题是由应用程序崩溃引起的,而不是由外壳无法启动引起的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.