简体   繁体   English

服务器上的JDK Eclipse IDE

[英]Eclipse IDE for JDK on a server

Is it possible that I can use Eclipse as an IDE on my laptop and the JDK is on a server (and not on the same laptop as the IDE)? 是否可以将Eclipse用作笔记本电脑上的IDE,并且JDK在服务器上(而不是与IDE放在同一台笔记本电脑上)?

Thanks 谢谢

No, you can't use Eclipse for Java development without a JDK installed. 不,没有安装JDK,就不能将Eclipse用于Java开发。

Do you really need to use Eclipse without a JDK, or are you actually trying to do remote debugging ? 您是否真的需要在没有JDK的情况下使用Eclipse,或者您实际上是在尝试进行远程调试

Eclipse requires a Java installation on your laptop to work locally. Eclipse需要在笔记本电脑上安装Java才能在本地工作。 There is no easy way to publish compiled classes to a remote server and invoke a remote JVM for running or debugging, but you can manually start the remote JDK in debug mode and let your Eclipse debugger connect to that. 没有简单的方法可以将已编译的类发布到远程服务器并调用远程JVM来运行或调试,但是您可以在调试模式下手动启动远程JDK,并让Eclipse调试器连接到该远程JDK。

Note, that if the server runs Linux or a UNIX-dialect, then you can run Eclipse on the server, and let it provide its GUI on your local machine across the network if you have an X11 server installed (OS X builtin, Windows has several) and compress the network traffic. 请注意,如果服务器运行Linux或UNIX操作系统,则可以在服务器上运行 Eclipse,如果已安装X11服务器(内置OS X,Windows已安装了X11服务器,则可以在网络上的本地计算机上提供Eclipse的GUI)。数)并压缩网络流量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM