Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » GitHub code; run as Java Application in Eclipse
GitHub code; run as Java Application in Eclipse [message #1015766] Sat, 02 March 2013 08:18 Go to next message
St001 K.
Messages: 1
Registered: March 2013
Junior Member
There is a code on GitHub that I need to use.(but read-only)
I want it to run in eclipse as a java application. I have already made a git repository and working directory.
How do I now run it as a java application?

I have absolutly no knowledge of Eclipse and believe me I have been searching the net for hours for just a simple thing like that, which I unfortunately do not know. Please help me I really need to go on with my work.
Re: GitHub code; run as Java Application in Eclipse [message #1016580 is a reply to message #1015766] Wed, 06 March 2013 19:50 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3052
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/6/2013 5:24 PM, St001 K. wrote:
> There is a code on GitHub that I need to use.(but read-only)
> I want it to run in eclipse as a java application. I have already made a
> git repository and working directory.
> How do I now run it as a java application?
> I have absolutly no knowledge of Eclipse and believe me I have been
> searching the net for hours for just a simple thing like that, which I
> unfortunately do not know. Please help me I really need to go on with my
> work.

Assuming you've cloned the repository, you have an Eclipse project?

1. Launch Eclipse.
2. File -> Import -> General -> Existing Projects into Workspace.
3. Navigate to the project/repository you cloned.
4. Right-click on project in leftmost pane, choose Run/Debug As.


If the cloned repository is NOT already an Eclipse project, you'll have
lots more work to do.

1. Launch Eclipse.
2. File -> New.
3. Project...
4. If simple Java project, look for Java -> Java Project; if web
project, look for Web -> Dynamic Web Project.
5. A create-project wizard will appear; name the project.
6. Tell the dialog that you're not using the default location.
7. Navigate to the root of the repository you cloned.
8. Finish.

Now, begins the fun. You'll have to supply JARs, wire them up with Build
Path, etc. This is not hard if you know Eclipse, but it's not for beginners.



Feel free to come back here with more detail and questions.
Previous Topic:Windows 7: Filenames Too Long
Next Topic:obj Files in eclipse
Goto Forum:
  


Current Time: Sun Apr 20 03:05:55 EDT 2014

Powered by FUDForum. Page generated in 0.01538 seconds