Check dependencies ./gradlew dependencies
Quick run (force port) ./gradlew run --args='7070'
Pack into jar (to build/libs)./gradlew jar
Running jar with port java -jar PocketTube-1.0.jar 3456
git clone --recurse-submodules https://github.com/Pocket-Watch/PocketTubeEnsure that your compiler is compatible with Java17
and Gradle JVM is not overridden in your IDE to a lower Java version.
Another factor can be the JAVA_HOME env variable which points to a different Java installation.
localhost:9090/fetch?url=https://www.youtube.com/watch?v=E4WlUXrJgy4