Java invalid or corrupt jarfile

Suppose you have an error: Or related one: The first thing you need to do is to check your main class defined in manifest. If you’re 100% sure that everything is all right, then check any running JVM processes, associated with that file and kill them. The thing is that you probably ran the old […]

READ MORE

Gradle use specific JDK

If you working with IntelliJ IDEA you may notice, that changing Project’s JDK version is not affected to Gradle build/run. To force Gradle to use a specific JDK version / vendor you merely need to change Gradle JVM version in IntelliJ IDEA settings:  Settings → Build, Execution, Deployment → Build Tools → Gradle → Gradle […]

READ MORE