Every computer has a clock. Am I mistaken, or is this not required to time a digital circuit. You could count ticks of the system clock, and deliver a pulse at specified intervals, unless the counter is reset. I am not familiar with JAVA. It probably does not have access to such low level functionality though.