GitHub code; run as Java Application in Eclipse [message #1015766] |
Sat, 02 March 2013 13:18 |
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] |
Thu, 07 March 2013 00:50 |
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.12215 seconds