Eclipse IDE for JDK on a server

2019-08-17 03:23发布

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)?

Thanks

标签: java eclipse
2条回答
劫难
2楼-- · 2019-08-17 04:04

Eclipse requires a Java installation on your laptop to work locally. 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.

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.

查看更多
时光不老,我们不散
3楼-- · 2019-08-17 04:05

No, you can't use Eclipse for Java development without a JDK installed.

Do you really need to use Eclipse without a JDK, or are you actually trying to do remote debugging?

查看更多
登录 后发表回答