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

标签 windows eclipse bash ubuntu

我在我的 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/

相关文章:

windows - 如何使用 SSH 从我的服务器下载文件(在 Windows 上使用 PuTTY)

windows - MongoDB中的这个错误 "No TransportLayer configured during NetworkInterface startup"是什么意思?

Eclipse Git (egit) pull 和推到上游选项有时不可用。?

Bash 打印任意大小数组的对角线

linux - Linux 中花括号的评估

windows - Windows 中的 msync 等效项

python - 如何使用 python 收集 GDI 和用户对象的性能指标

java - 无法将 SpringBoot 项目导入 Eclipse IDE

java - 在 Eclipse 设置中运行现有项目

bash - 在 GNU Parallel 中并行化嵌套的 for 循环