|Re: How to load a java folder with .project in it? [message #1403004 is a reply to message #1403001]
||Sat, 19 July 2014 16:42
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 07/19/2014 10:24 AM, P Y wrote:|
>> On 19/07/2014 06:14, P Y wrote:
>> > I downloaded a directory with a number of java files. The directory has
>> > a file `.project`, which I guess is generated by eclipse. Does anybody
>> > know how to use this file?
>> You open eclipse, then select File->Import->Existing Projects into
>> Workspace... Then pick the folder with the .project in it.
> I have successfully imported the package. But I have no clue how to
> compile it. Do you know? (I have tried to check for a number of
> tutorial, but it does not seem to solve my problem.) BTW, my eclipse is
Once you have a proper Java project in Eclipse, it's already compiled
(and it's maintained in that state as you make changes) unless you turn
off this feature (via menu Project -> Build Automatically).
The next thing you're going to ask is how to run it.
This depends on what sort of project it is. If it's a simple Java
project with a main() method in one or more of the Java files, you just
choose the file you want, right-click it, then choose Run As... (or
Best of luck.
Powered by FUDForum
. Page generated in 0.03267 seconds