Script to simulate hanging process

I want to create a script to simulate a process that hangs to test a java application. My java app executes a system command, which can also be executing scripts, etc. Any ideas on such a script?

The java code is:

Runtime rt = Runtime.getRuntime();
Process p = rt.exec("sh ./someTestScript.sh");
int exitValue = p.waitFor(); // If process hangs I don't get an exitValue

Something like:

#!/bin/sh

while :
do
  sleep 1
done

Regards

Or just sh -c 'sleep 9876543210'

perl -e 'while (1) { sleep ()}'

or just "cat" it will wait for input forever.

Great, thanks everyone.