d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Java
Add Reply New Topic New Poll
Member
Posts: 10,228
Joined: Oct 27 2008
Gold: 9,834.89
May 13 2015 04:19pm
Relatively new to Java (introductory course) and generally negligible experience with computer science/programming.
Is there a way to keep a script running such that I don't have to press "run" for the java code to have to compile and run?
For example: I wanted there to be a way so that if I put in a USB into my laptop, I'd be able to automatically save a certain file on my USB onto my laptop for backing-up purposes.

Thank you~
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 13 2015 06:55pm
while (true){
// do stuff forever
}

i wouldn't recommend it for your example, though. look into drop box or some other sync app.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll