gpt4 book ai didi

windows - 如何在 Windows 上的 Ubuntu 上的 bash 上运行 eclipse?

转载 作者:可可西里 更新时间:2023-11-01 14:22:48 25 4
gpt4 key购买 nike

我在我的 Windows 机器上安装了 eclipse,但我似乎无法将它与 bash 一起使用,所以我使用“sudo apt-get install eclipse”在 bash 终端上安装了 eclipse。它安装得很好,但我不知道如何从 linux 子系统启动 eclipse GUI,所以我可以像使用 windows 版本一样使用它。我尝试使用 Xming 并导出 DISPLAY,但这没有用。有什么想法吗?

最佳答案

据我从下面的链接中了解到,您需要更新 .bashrc 以将 GUI 显示定向到 X 服务器进程。我安装了 xMing 以从 Windows 10 运行 X Server。我还必须安装 gtk 组件,使我能够从 WSL 中运行 sublime text GUI。

https://medium.com/@pck/how-to-use-sublime-text-3-from-command-line-with-ubuntu-bash-terminal-in-windows-10-subsystems-for-aa2ad59d088c

希望对你有帮助

关于windows - 如何在 Windows 上的 Ubuntu 上的 bash 上运行 eclipse?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44161701/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com