Fix target ARCH_JAVA and remove calls to sleep