如何在Eclipse 4.2中设置运行时类路径? [英] How do I set the runtime classpath in Eclipse 4.2?

查看:158
本文介绍了如何在Eclipse 4.2中设置运行时类路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从运行菜单中选择运行配置时,我看不到Eclipse以前版本中没有名为Classpath的选项卡。在哪里可以设置运行时类路径?

When I select Run Configurations from the Run menu I see no tab named Classpath as in previous versions of Eclipse. Where do I set the runtime classpath?

推荐答案

在Eclipse中,查看项目 - >属性,您需要运行时配置。选择运行/调试设置并选择新的或编辑已有的。创建新的运行/调试配置时,请确保选择Java Project。当对话框打开时,您将看到类路径指令的选项卡。

In Eclipse look at Project -> Properties for the project you want a runtime configuration. Choose Run/Debug settings and choose new or edit one you already have. When creating a New run/debug config make sure to choose Java Project. When the dialog box opens you will see a tab for classpath directives.

这篇关于如何在Eclipse 4.2中设置运行时类路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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