wakeup from standby

i'm trying to write a simple alarm that will wakeup my computer from standby/sleep at a specified time and play a music file.

right now, i'm stuck at the wakeup from standby part.

anybody know if this is possible and is there some api i can use to make the Java program wakeup the pc?

thanks,

[319 byte] By [paveltheseconda] at [2007-11-26 21:58:00]
# 1

As I understand, a real stand-by implies no program running. But one can use BIOS setting to wake-up on an ethernet signal and such. So an external signal. There are probably small electronics solutions you can use.

A faked solution, would be writing a screen saver. There are java screen saver projects.

joop_eggena at 2007-7-10 3:55:41 > top of Java-index,Desktop,Developing for the Desktop...
# 2

There has to be a way of doing this because i have a program called wakemeup that does exactly that. (its not oss and i've got no idea what language its writen in which is why i want to try and write my own)

i suppose its possible that this program interfaces with BIOS to set the timer. but if thats the case then how can i do that in java?

wakeup over eithernet is not a good option for me because i only have 1 pc (unless i write a server script but thats plan b), and keeping the pc in screen saver generates too much noise.

paveltheseconda at 2007-7-10 3:55:41 > top of Java-index,Desktop,Developing for the Desktop...