#classpath

2025-05-28

Почему java -jar игнорирует твой -cp и как это обойти

Привет, Хабр! Когда java -jar цинично игнорирует ваш -cp , хочется грустить, но спокойствие, сегодня рассмотрим, почему так происходит и как это обойти.

habr.com/ru/companies/otus/art

#java #jar #cp #classpath #ClassPath #JPQL #оптимизация_Hibernate

Peter Steiner 🇨🇭🇺🇦(he/him)pesche@mastodon.green
2023-09-18

Then JB (github.com/thejibz) explains how Quarkus' Fast-JAR reduces your application's Docker image layers and why it has a faster startup time (3/3)

blog.worldline.tech/2023/09/05

#TechAtWorldline #quarkus #docker #java #classpath #manifest

Jendrik Johannesjendrik
2022-11-21

When it comes to modularization, tools like build on top of what supports and provides. I often see confusion about where the functionality of Java tools end and where Gradle starts (and why or why not you need it at all).

That's why I'll do a couple of videos to explore this step-by-step. Here is the first one, in which I talk about the :

youtube.com/watch?v=HqAp9JBl2_

Ænðr E. Feldstrawaeveltstra
2018-11-30

: 's fails to let us specify specific jars by name, fails to let us specify specific by name.

So, if you have a dependency that (by mistake) also includes and , Gradle won't allow you to omit those from the using its .

Instead, we have to alter how the libraries are gathered: we have to exclude files whose name contains "sources" or "javadoc", and hope for the best - 1/2

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst