Solved

How to open this java project using Eclipse IDE

Posted on 2013-01-29
5
418 Views
Last Modified: 2013-02-05
I have not worked with Java for about 10 years. And back then I was using Net beans which I liked alot. Now I am using
the ECLIPSE ide, which is nice too.

Anyway, I have a code project and I don't know how to go about opening it. In the main folder, I have the following files.

.classpath
.project
AutoV3 (This is a Class file)
AutoV3.java (Java language source file)
AutoV3Canvas (This is a class file)
AutoV3Canvas.java (Java language source file)

I also have the following sub folders under this main folder:

.metadata"
bin     (Contains two files. AutoV3.jad, and AutoV3 which is a jar file)
res     (Contains some ping images, and a TRA file)


If someone can tell me how to open up the project in Eclipse Juno, I would be forever greatful.
0
Comment
Question by:brgdotnet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 38834777
I tend to avoid IDEs a lot of the time but have you tried simply double-clicking the .project file?
0
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 220 total points
ID: 38834976
1.Create a new Java project in Eclipse. This will create a src folder (to contain your source files).

2.Also create a lib folder (the name isn't that important, but it follows standard conventions).

3.Copy the ./com/* folders into the /src folder (you can just do this using the OS, no need to do any fancy importing or anything from the Eclipse GUI).

4.Copy any dependencies (jar files that your project itself depends on) into /lib (note that this should NOT include the TGGL jar - thanks to commenter Mike Deck for pointing out my misinterpretation of the OPs post!)

5.Copy the other TGGL stuff into the root project folder (or some other folder dedicated to licenses that you need to distribute in your final app)

6.Back in Eclipse, select the project you created in step 1, then hit the F5 key (this refreshes Eclipse's view of the folder tree with the actual contents.

7.The content of the /src folder will get compiled automatically (with class files placed in the /bin file that Eclipse generated for you when you created the project). If you have dependencies (which you don't in your current project, but I'll include this here for completeness), the compile will fail initially because you are missing the dependency jar files from the project classpath.

8.Finally, open the /lib folder in Eclipse, right click on each required jar file and choose Build Path->Add to build path.
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 38834984
the above peocedure is for in NetBean format to eclipse

if if alreday that project created in eclipse the you can directly import
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 20 total points
ID: 38834993
If my suggestion doesn't work, afaicr it's simple to just create a new project from existing sources
0
 
LVL 2

Author Comment

by:brgdotnet
ID: 38835166
Dravidinsr, I will try your steps. I had previously tried just double clicking the solution file, however that did not work.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question