Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.
Saved setup from 6 h ago
Will it work on Linux?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/jhy/jsoup.git cd jsoup
JDK
sudo apt install openjdk-21-jdk # Debian/Ubuntu
mvn install -DskipTests
mvn exec:java
Maven:
<dependency>
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.23.2</version>
</dependency>
Gradle:
// jsoup HTML parser library @ https://jsoup.org/
implementation 'org.jsoup:jsoup:1.23.1'
When used in Android projects, core library desugaring with the NIO specification should be enabled to support Java 8+ features.
No reports for Linux yet.
GitManual AI Agent reads the 6 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.