如何通过现有的.java文件创建项目? [英] How to Create a Project, via existing .java files?

查看:82
本文介绍了如何通过现有的.java文件创建项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我在java中有一个项目,它包含.java文件。所有这些文件都已编译和构建(创建了.class文件)。现在我想在eclipse中打开这个项目并运行它。我尝试使用import选项在eclipse中导入项目,但是后来无法运行整个项目。请帮助



我正在使用Eclipse Juno

Hello there,
I have a project in java, which consists of .java files. all these files have been compiled & built(.class File created). Now I want to open this project in eclipse & run it. I tried to import the project in eclipse using the import option, but then not able to run the project as a whole. please help

I am using Eclipse Juno

推荐答案

在New Java Project向导中,取消选中使用默认位置框,然后使用浏览按钮查找目录。



简单。
In the New Java Project wizard, un-check the box that says 'Use default location' and then use the Browse button to find your directory.

Simples.


这篇关于如何通过现有的.java文件创建项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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