一次从Eclipse运行两个Java程序? [英] Run two Java programs from Eclipse at once?

查看:127
本文介绍了一次从Eclipse运行两个Java程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建Java Google App Engine服务器项目和Java桌面客户端。我想同时运行它们,但我不知道是否可以使用Eclipse / GAE插件。有没有办法?我想同时可以通过它们。

I am building a Java Google App Engine server project and a Java desktop client. I would like to run them both at once, but I'm not sure if this is possible using Eclipse/GAE plugin. Is there some way? I'd like to be able to step through them both at the same time.

我尝试打开一个新的Eclipse实例,但是它抱怨工作区已经在使用,两个项目都在同一个工作区。 (也许我可以把它们移动到不同的工作区。)

I tried opening a new instance of Eclipse, but it complained that the workspace is already in use, both projects are in the same workspace. (Perhaps I could just move them to different workspaces.)

推荐答案

我不熟悉GAE,如果干扰,但是我没有运行多个问题的问题。我经常从同一个窗口启动服务器和多个客户端。

I'm not familiar with the GAE and if that interferes, but I don't have a problem running multiples. I often fire up a server and multiple clients from the same window.

几个指针:


  • 转到每个程序的主要方法来运行它们。一旦运行一次,它们将显示在运行按钮的下拉菜单中。

  • 制作多个控制台并将其固定。这样可以更容易地实时查看(调试/信息)输出。

  • 将多个控制台移动到单独的视图,以便您可以同时看到它们。

之前的顶部,底部之后

Before on top, after on bottom

这篇关于一次从Eclipse运行两个Java程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆