Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么使用 SUDO 运行应用程序会改变 GUI 外观?
IeButton 背景、按钮大小、JTree 外观的行为取决于 GUI 是如何使用 SUDO 启动的。
将感谢您的建议。谢谢
你在细节方面没有给出太多。大概 root 具有不同设置的路径和/或环境变量。我猜想会java -fullversion给出sudo java -fullversion不同的结果。
java -fullversion
sudo java -fullversion