在eclipse中禁用运行java应用程序选项 [英] Run as java application option disabled in eclipse

查看:101
本文介绍了在eclipse中禁用运行java应用程序选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始使用Eclipse IDe 3.6了。我编写了一个普通的java程序,当我尝试运行它(右键单击/运行)时,无法找到运行为java应用程序选项。我在这里缺少什么(设置运行配置?)。请帮助!!

I had started working on Eclipse IDe 3.6. I had written a normal java program and when I tried running it(right click/run), am unable to find the 'run as java application' option. What am I missing here(Setting up the run configuration ?). Please help !!

推荐答案

您可以尝试添加新的运行配置:运行 - >运行配置... - >选择Java应用程序,然后单击新建。

You can try and add a new run configuration: Run -> Run Configurations ... -> Select "Java Appliction" and click "New".

或者使用快捷方式:将光标放在课程中,然后按 Alt + Shift + X 打开一个上下文菜单,然后按 J

Alternatively use the shortcut: place the cursor in the class, then press Alt + Shift + X to open up a context menu, then press J.

这篇关于在eclipse中禁用运行java应用程序选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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