0

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.

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.

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".

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.

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

asked Mar 30, 2014 at 17:26
4
  • 1
    Surely the source code (etc.) is in your source control system? You shouldn't need to "open" the Jar itself. Commented Mar 30, 2014 at 17:27
  • Honestly, it is very optimistic to think that you can change the application in a useful way with this state of knowledge. If this is a crucial application you need to hire someone to do this. Commented Mar 30, 2014 at 17:36
  • @his so what do you suggest, should I quit development and look for alternate career? Commented Mar 30, 2014 at 18:13
  • No! Definitely not. I don't know if you are doing this for learning purposes. Then I have to admit that I think it is a weak approach. You need to learn fundamentals systematically, not by just doing something random. If it is a real task that needs to be done then you can't expect to do it without prior knowledge. I absolutely don't know you personally but from the question it is clear that you just now will not be productive if this is a real task. Commented Mar 30, 2014 at 18:54

1 Answer 1

3

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?

answered Mar 30, 2014 at 17:30
Sign up to request clarification or add additional context in comments.

4 Comments

It was made using Eclipse
Are you able to find a .project file inside the root folder?
On prod I have under the directory 4 folders; .settings, src, bin, doc and 2 files .classpath and .project
seems .setting file is missed. setting file contains information related to project and workspace refer this - stackoverflow.com/questions/1551008/…

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.