Questions tagged [jdeps]

The Java Dependency Analysis Tool introduced in JDK 8, which provides information on what dependencies are used in a jar.

The Java Dependency Analysis Tool introduced in JDK 8, which provides information on what dependencies are used in a jar. Using the -jdkinternals flag, it is also used for detecting JDK internal APIs (e.g. sun.*) that are unsupported.

External Links:

64 questions
0
votes
1 answer

How can I get the list of all possible packages from lib/ directory using jigsaw helper commands?

I'm not currently building a modular app. However I've seen that that jdeps/jdeprscan can scan into jars for packages. Is there a way to just print all packages contained in all jars inside lib/ using any of the above commands?
Marinos An
  • 9,481
  • 6
  • 63
  • 96
0
votes
1 answer

How to enforce architectural rules in a kotlin+gradle project?

I want to enforce certain architectural rules in my kotlin/gradle project automatically. An example would be: No calls from model package to xyz package. Or no calls to the ACL layer from packages a, b and c. Is there a way to enforce these rules…
rom
  • 360
  • 1
  • 13
0
votes
0 answers

Use the class dependency analysis from jdeps inside Java

I write a Java program that needs to use the functionality of jdeps. I can call it as a process and parse the command line output, but as jdeps is a Java tool, I would prefer to use Java methods instead. Does the JRE/JDK offer these jar/class…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
0 answers

Jdeps is not referring the env variables for execution

I have multiple JDKs configured in my system i.e. JDK 8, 9 & 10 (early access). I need to execute the Jdeps tool available in JDK 9, however on issuing the jdeps -version command the one available in JDK 8 is getting executed. I have the PATH and…
Curious Coder
  • 646
  • 8
  • 18
1 2 3 4
5