HTML jar

The third library I use provided JavaDoc HTML and related bin files in a zip file. How can I create a jar file from JavaDoc HTML?

Thanks.

+3
source share
5 answers

A JAR file is nothing more than a ZIP file with a (optional) manifest file inside.

Basically, rename the file to .JAR and it.

+7
source

Quick answer: you can take all the files in a zip and put it .jar extension

+1
source

.jar? ( JAR ZIP .)

JAR HTML ?

+1

JDK jar.exe, , "% JAVA_HOME%/bin/jar.exe"

,

/somelib/
         packages.html
         ... other html

somelib:

cd /somelib/
jar cvf somelib-3.0-javadoc.jar *

After that, in / somelib / you can find somelib-3.0-javadoc.jar

0
source

Of course, you can simply unzip the zip file and add the lib folder that you just unzipped to your classpath.

-1
source

Source: https://habr.com/ru/post/1709679/


All Articles