<< Friday Java Quiz (Almost Three Days Late) | Home | Happy Chinese New Year >>

Friday Java Quiz: What Are These?

Q: You were doing your normal Java development chores and suddenly you notice a spurious log/ directory that contains three files:

[weiqi@gao ~/log] $ ls
Logfile.1*  Snapshot.1*  Version_Number*

What did you do to create this directory and the files in them?

Strict rule: No Googling.

Tags :


Re: Friday Java Quiz: What Are These?

I'm going to take a guess...I think it may be because of running unit tests from maven.

Re: Friday Java Quiz: What Are These?

maybe these files are the log of a JVM crash or some java usage information that is sent back to Sun silently in the background but this time they wouldn't be deleted for some reason :-)

Re: Friday Java Quiz: What Are These?

It's what's left behind if you run the rmdi program from the Sun JDK.

The rmid program has been in the JDK for quite some time now. And it would be very useful in building certain kinds of distributed systems.

Apparently nobody is using it.

BTW, the rule says "No Googling." But Googling won't help you in this case, because that will only bring you back here.


Add a comment Send a TrackBack