Java在Eclipse中打开现有项目 [英] Java open existing project in Eclipse

查看:58
本文介绍了Java在Eclipse中打开现有项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java的新手..Eclipse等.我们有一个运行中的Java应用程序,所有.java文件和.class文件在文件系统中都可用..jar文件每小时执行一次,并且可以正常工作.现在,开发人员已经离开了该应用程序.

I am new to Java.. Eclipse etc. We have a working Java application, all the .java files and .class files are available in the file system. The .jar file is executed once a hour and it does it job. Now the developer is gone leaving behind this application.

我不想触摸现有设置.因此,我已经在笔记本电脑上下载了此Eclipse Standard/SDK Kepler Service Release 2,并想尝试进行一些修改.

I dont want to touch the existing set-up. So I have downloaded this Eclipse Standard/SDK Kepler Service Release 2 on my laptop and want to try out some modifications.

在谷歌搜索如何在Eclipse中打开现有的Java应用程序"之后,它给出了非常有用的信息,但对我来说毫无用处.我做了File> Import> General等.但是Eclipse一直说找不到要导入的项目".

After googling "how to open existing java appl in Eclipse" gives very useful info, but none is of use to me. I did File > Import > General etc. etc. but Eclipse keeps saying "No projects are found to import".

在我有.java文件的文件系统中,项目似乎被拆分为多个文件夹,即,如果我打开主源文件夹,则有10个子文件夹,所有子文件夹都包含.java文件.从生产环境中我还知道所有这10个.java文件夹都已使用.

In the file system where I have my .java files the project it seems is split into multiple folders, i.e if I open the main source folders, there are 10 sub folders and all contains .java files. I also know from the production environment that all those 10 folders .java files are used.

所以我有这个.java和.class和.jar文件.因此,如何将其导入笔记本电脑上的Eclipse.

So I have this .java and .class and .jar file. So how can I import it into Eclipse on my laptop.

推荐答案

可能您拥有源代码,但这不是一个eclipse项目.尝试查看如何从Eclipse中的现有源创建项目,然后找到它?

Probably you have the source code but it's not an eclipse project. Try to see How to create a project from existing source in Eclipse and then find it?

这篇关于Java在Eclipse中打开现有项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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