its probably not locking up, but it takes awhile to download the java runtime if you have a slow connection.
my advice is to download the offline installer available here:
http://java.com/en/download/manual.jsp
be sure its the OFFLINE installer so you can have a copy of it for future reference.