Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » import java project
import java project [message #1754994] Sat, 25 February 2017 09:22 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Hi,

Sorry for my simple question, I am new in Java. I have a problem with opening Java project in Eclipse Modeling Mars.2. When I import java project to eclipse I can not run it because there is not any project and main class to select in Run Configuration. It seems, eclipse doesn't detect that this is a Java project. should I install any plugin?

[Updated on: Sat, 25 February 2017 09:24]

Report message to a moderator

Re: import java project [message #1755023 is a reply to message #1754994] Mon, 27 February 2017 06:20 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Can't any one help me?
Re: import java project [message #1755025 is a reply to message #1755023] Mon, 27 February 2017 07:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29310
Registered: July 2009
Senior Member
The information you've provided is sparse. You said you imported a project but then said there is not any project. That seems contradictory. What exact steps did you use the import a project? Where did this project you're trying to import come from? What do you see in the workspace after these import steps?
Re: import java project [message #1755095 is a reply to message #1755025] Tue, 28 February 2017 06:18 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
I do this steps: http://agile.csc.ncsu.edu/SEMaterials/tutorials/import_export/
also I do it with "File System" instead of "Workspace".
When I do above steps, I have this Project in my work space:
index.php/fa/28594/0/
When I run it as Java application and I Browse to select Project name (and main class) there is nothing to select:
index.php/fa/28595/0/
  • Attachment: image.JPG
    (Size: 17.14KB, Downloaded 164 times)
  • Attachment: image1.JPG
    (Size: 39.16KB, Downloaded 170 times)
Re: import java project [message #1755101 is a reply to message #1755095] Tue, 28 February 2017 08:01 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29310
Registered: July 2009
Senior Member
The archive you've imported from doesn't appear to have included files like the .project (describes the natures and builder for this project) and .classpath (describes the Java classpath, e.g., where are the source folder and the out folders) files that would normally be part of an exported existing project. So it's a question of where did this archive come from and why did whomever provided it not include important files like the .project and .classpath files in the root of the project.
Previous Topic:Building eclipse.jdt.ui fails test stage
Next Topic:Unable to use Google Play Services Vision API in Eclipse
Goto Forum:
  


Current Time: Thu Apr 19 15:57:19 GMT 2018

Powered by FUDForum. Page generated in 0.02569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software