Two Laptop Bag*
The moose likes Beginning Java and the fly likes how to output -verbose:class info to a file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to output -verbose:class info to a file?" Watch "how to output -verbose:class info to a file?" New topic
Author

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

jing hu
Ranch Hand

Joined: Jun 30, 2009
Posts: 63
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

Joined: Oct 27, 2005
Posts: 19656
    
  18

Use the shell's file redirection mechanism:
Of course this will redirect all output to the file, but at least you've captured it.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
jing hu
Ranch Hand

Joined: Jun 30, 2009
Posts: 63
yeah. Thanks, It is right.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to output -verbose:class info to a file?
 
Similar Threads
How to check dynamic code downloading ...
How to find the Time of class loaded by jvm
java -verbose:class command
How to find loaded log4j jars in VM
How to find the real path of the object passed to a method ?