简体   繁体   English

您如何将Java UI应用程序作为Windows的组自定义用户界面运行(可能使用组策略)?

[英]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.

相关问题 如何使用Java运行.group() - How to run a .group() with Java 如何使用Java将一组对象移动到ArrayList内的其他位置? - How do you move a group of objects to a different location inside of an ArrayList using Java? 您将如何使用Apache Daemon运行Java应用程序(在Windows中)? - How would you use Apache Daemon to run a Java application (in Windows )? 如何使用Java在jmeter中创建自定义线程组? - How to create a custom thread group in jmeter using java? 如何使用Selenium的Java接口从站点上载文件 - How to upload a file from a site using Selenium's java inteface 如何使用LDAP Java API创建SharePoint 2013用户组 - How to create SharePoint 2013 User Group using LDAP Java API 您如何在JBossEWS应用程序上运行Java代码? - How do you run java code on JBossEWS application? 使用 Java 检查 Linux 用户的组成员身份 - Check group membership for a Linux user using Java Java-Supress您是否要运行此应用程序? - Java - Supress Do you want to run this application? 如何让 java 运行应用程序,当用户关闭应用程序时,java 在 mac 或 windows 中运行另一个进程 - how to get java to run an application and when user closes the application, java runs another process in mac or windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM