0

Is there a method of knowing the depending library in the java library? If possible, I want to know the method to know by the tool or the command.

yohei
  • 51
  • 1
  • 2

4 Answers4

0

I'd suggest letting Maven handle your dependencies (NetBeans has good inbuilt support, for example). Once you're using it, it's easy to view the dependency tree.

Community
  • 1
  • 1
Catchwa
  • 5,735
  • 3
  • 32
  • 56
0

My method usually consists of googling the class and method and downloading the appropriate jar. :) Sometimes it takes some research.

corsiKa
  • 79,375
  • 23
  • 153
  • 199
0

Check classycle and JDepend, they both do dependency checks and can be used to automate process using ant.

Zimbabao
  • 8,054
  • 2
  • 28
  • 36
0

JBoss TattleTale may help you, it's very easy to use.

"Tattletale is a tool that can help you get an overview of the project you are working on or a product that you depend on."

卢声远 Shengyuan Lu
  • 30,386
  • 22
  • 82
  • 125