you could set up a (default) timezone at app startup
if (System.getProperty("user.timezone") == null) {
System.setProperty("user.timezone", "EST");
}
Am 23.10.15 um 22:24 schrieb Calven Eggert:
I’ve been working on a new install of El Capitan. I found a problem
with running the app inside
Unfortunately, that didn’t work. I’ve tried adding it in two different ways
based on google searches:
-Duser.timezone=EST
-Doracle.jdbc.timezoneAsRegion=false
Is anyone else using Java 1.8 and has this working?
> On Oct 23, 2015, at 4:25 PM, Gino Pacitti wrote:
>
> What
gevityinc.com>>
Cc: WebObjects-Dev
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>>, Gino
Pacitti <ginok...@mac.com<mailto:ginok...@mac.com>>
Subject: Re: El Capitan - setting java timezone
I changed my time zone and then changed it back and...it wo
pple.com>> on
> behalf of Calven Eggert <cal...@mac.com <mailto:cal...@mac.com>>
> Date: Monday, October 26, 2015 at 7:02 AM
> To: WebObjects-Dev <webobjects-dev@lists.apple.com
> <mailto:webobjects-dev@lists.apple.com>>, Gino Pacitti <ginok...@mac.com
> &l
gt;>
> Cc: WebObjects-Dev <webobjects-dev@lists.apple.com
> <mailto:webobjects-dev@lists.apple.com>>, Gino Pacitti <ginok...@mac.com
> <mailto:ginok...@mac.com>>
> Subject: Re: El Capitan - setting java timezone
>
> I changed my time zone and then changed
;mailto:ginok...@mac.com>>
Subject: Re: El Capitan - setting java timezone
Unfortunately, that didn't work. I've tried adding it in two different ways
based on google searches:
-Duser.timezone=EST
-Doracle.jdbc.timezoneAsRegion=false
Is anyone else using Java 1.8 and has this working?
O
I’ve been working on a new install of El Capitan. I found a problem with
running the app inside Eclipse until it was discovered that the java timezone
was not set and therefore, not allowing a connection to the database. This was
fixed by adding an argument to the Run Configuration