Import github code for eclipse Oxygen

Asked

Viewed 241 times

2

I have a code that I would like to import into my eclipse by downloading the zip, however at the time of importing the following error

No Projects are found to import

Searching for git features ,I found out that it has the clone command that configuring with github is possible to download the project by command line but even so it is necessary to import the project in eclipse.

How to import a Java project from github to my eclipse and can run it ?

Project I wish to download. https://gist.github.com/basavesh/4044475

  • The project is Maven?

  • Java project with no desktop persistence..

  • Post the github link so we can see how the code is

  • Project github link added in question.

1 answer

1


This is not a git repository or a Java project.

It’s just a Java class isolated in a Gist.

The Github Gist is a simple way to share code, notes, text, etc. It’s something like Pastebin.
It’s not a git repository.
That one is an example of a git repository with a Java project using Maven.


In order for you to "have" this class, there is no secret: create a Java project in Eclipse, create a class called DoublyLinkedList and copy the contents of Gist and paste into your class.
That’s how you use a code that’s in Gist.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.