1

Before I begin I'd like to state that I'm a complete rookie when it comes to programming and Github, sorry. Anyways, I downloaded a project from Github and extracted it to my computer. The folder has no readme or any other directions. All it contains is three folders: lib, res, and src. In the lib folder are a couple .jar filed that don't do anything when clicked. The res folder has a .css file. And the src file has a ton of .java files. How do I run this program/project?

Sina Riazi
  • 11
  • 1
  • 2
  • 6
    A link to the GH repository helps to answer. – jal Jan 03 '19 at 00:45
  • 4
    There's no general way to "run a Github java project" - it really depends on the specifics of the project, how its developer has set it up. Since there's no documentation, you may need to inspect the source code. – Jeen Broekstra Jan 03 '19 at 00:48
  • The premise of this question is difficult to follow. A correctly packaged .jar file should run no problem. You haven't told us what the repo is, or why you're trying to run it, and the fact that github is the place you located the files, doesn't really tell us anything about the files you intend to run other than where you got them. – geekTechnique Jan 03 '19 at 00:51
  • Are there perhaps any _"dot"_ files or folders, for example `.project` or `.idea`? These may be hidden by your operating system by default. – Phil Jan 03 '19 at 01:26
  • Phil, I clicked the box to show hidden items and there is indeed a .project file. What do I do with this? – Sina Riazi Jan 03 '19 at 01:28
  • See [What's in an Eclipse .classpath/.project file?](https://stackoverflow.com/questions/7186676/whats-in-an-eclipse-classpath-project-file). Use an IDE like IntelliJ or Eclipse to open the project. You should be able to compile and run it from there – Phil Jan 03 '19 at 01:31
  • 1
    By the way, those `.jar` files that "don't do anything when clicked" are most likely _libraries_ (i.e. dependencies) used by the code under `src`. Since they're libraries—not applications—they won't have been configured to execute when double-clicked. – Slaw Jan 03 '19 at 01:35

0 Answers0