1

I would like to extract the jar file from this GitHub project.

https://github.com/barteksc/AndroidPdfViewer?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=3761

How does one extract it?

Suit Boy Apps
  • 3,005
  • 8
  • 36
  • 54

2 Answers2

0

First, you will want to download the file from github

Then, if you have the Java Developer Kit all you need to do is simply run this command in command prompt or terminal

jar xf jar-file [archived-file(s)]

For example

jar xf TicTacToe.jar TicTacToe.class images/cross.gif

All the commands above come directly from this article provided by Oracle

Suit Boy Apps
  • 3,005
  • 8
  • 36
  • 54
0

IF by "extract" you mean "get only one file from a GitHub repo", like gradle/wrapper/gradle-wrapper.jar, you can use its raw address

https://github.com/username/repository/raw/$changeset_hash/path/to/file

But if you mean: the jar resulting from the compilation of the all GitHub project, then you would need to clone and build it first, since the AndroidPdfViewer/releases do not include the final jar.

VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283