Home arrow static arrow Java Programming [Archive] - system time and java
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - system time and java
This topic has 7 replies on 1 page.

Posts:40
Registered: 12/6/01
system time and java  
Jun 25, 2004 6:04 AM



 
hi all,
i have the same application running in two machines, in only one of them i have administrative privileges, after 1 hour, the system time in the administrative one is 10minutes advanced.
could you give me any explanation of that if my code don't uses any function to change the system time?
thanks

mykro
 

Posts:14,142
Registered: 99-04-02
Re: system time and java  
Jun 25, 2004 11:33 AM (reply 1 of 7)



 
some other application is changing the time? crappy clock?
 

Posts:27,518
Registered: 11/3/97
Re: system time and java  
Jun 25, 2004 11:36 AM (reply 2 of 7)



 
Could be something is wrong with the box. Could be a hardware failure. Could be some faulty software somewhere. Could be a virus.

Could be that the server is syncing up with a different box and that different box either has the right or wrong time.

Could be that some admin is coming along at the half hour mark, and is resetting the time using their watch.
 

Posts:2,206
Registered: 8/15/02
Re: system time and java  
Jun 25, 2004 11:38 AM (reply 3 of 7)



 
The two computers are in different frames moving with respect to each other? In which case, the Lorentz transformation

t' = t / ( 1 - v^2/c^2 )


applies.
 

Posts:3,055
Registered: 18/06/98
Re: system time and java  
Jun 25, 2004 11:49 AM (reply 4 of 7)



 
Wow! This is really a fast, fast computer - not in GHz but in miles per second. You can use it to explore Mars and return in the same weekend. No more slow explosive rockets - just pure Moore's law...
 

Posts:2,206
Registered: 8/15/02
Re: system time and java  
Jun 25, 2004 11:54 AM (reply 5 of 7)



 
My bad,

That should be
t' = t / Math.sqrt(1 - v^2/c^2)


Assuming you are looking at the non-administrative clock, this means the administrative clock is moving at 0.5 times the speed of light.
 

Posts:31,095
Registered: 4/30/99
Re: system time and java  
Jun 25, 2004 12:23 PM (reply 6 of 7)



 
this means the administrative clock is moving
at 0.5 times the speed of light.

Can't be right. Administration never moves that fast.
 

Posts:349
Registered: 1/8/04
Re: system time and java  
Jun 25, 2004 1:29 PM (reply 7 of 7)



 
this means the administrative clock is moving
at 0.5 times the speed of light.

Can't be right. Administration never moves that fast.

it may be moving in the wrong direction...
 
This topic has 7 replies on 1 page.