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,845
  • 4
  • 31
  • 57
0

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

corsiKa
  • 81,495
  • 25
  • 153
  • 204
0

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

Zimbabao
  • 8,150
  • 3
  • 29
  • 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
  • 31,208
  • 22
  • 85
  • 130