This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to output -verbose:class info to a file?

 
jing hu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Now I run a java application. I want to record loaded classes information. yeah, I can use java -verbose:class Test.
Now I want to know how to output the loaded classes to a file not in the command line windows.

Thanks .
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the shell's file redirection mechanism:
Of course this will redirect all output to the file, but at least you've captured it.
 
jing hu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah. Thanks, It is right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic