• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to add .zip file library to the intelij project ?

 
Ranch Hand
Posts: 50
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to add this library to the intelij project. I have downloaded the project from the github as a .zip format and the tried to add in intelij project. But i could not work out.
For the experiment I download the google guava library as .jar file and i added it to the project library successfully. But I download the google guava library from the github as a .zip file format and try to add to the intelij project it did not work.
Now How could I add the given link library to my project ?
Thanks in advance.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Muztaba,
Welcome to CodeRanch!

That zip file is a zip file of the github project, not a file with .class files. Therefore you can't add it to a project in your IDE and just expect it to run.

The github project uses Maven. If you wanted to, you could build a jar from it using Maven.
 
Muztaba Hasanat
Ranch Hand
Posts: 50
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Muztaba,
Welcome to CodeRanch!

That zip file is a zip file of the github project, not a file with .class files. Therefore you can't add it to a project in your IDE and just expect it to run.

The github project uses Maven. If you wanted to, you could build a jar from it using Maven.


Sorry for the late reply. Anyway, thanks a lot.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic