Re: "It's all well and good saying that you have 10 years experience in Java. "
"Here's your login details, the machine, the language manuals and your programs function description. We'll be back in two hours. If it runs you get the job."
I had a similar 'interview' with the last on-site gig I did. It was a phone interview followed by an e-mail, with a request to take a particular data format and do something with it. "Any language" and it was timed.
I did it in about an hour or two, with a nice robust C++ application. But one guy did it in 5 minutes (using Perl). If I'd known BSD/Linux as well as I do now, I'd have done it in about that much time using 'awk'.
(after that it was 'meet everyone' so they could figure out if they could get along with me, get a tour of the place, and so on - small startup company)