Re: El Capitan - setting java timezone
Re: El Capitan - setting java timezone
- Subject: Re: El Capitan - setting java timezone
- From: Adalbert Winkler <email@hidden>
- Date: Mon, 26 Oct 2015 10:00:30 +0100
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 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 “-Duser.timezone=EST”.
After building my .woa using the “WOLips Ant
Tools/Install”, the application cannot connect to a database.
it’s the same problem because if I type:
./APPNAME -Duser.timezone=EST
the application works as expected. Does anyone know
how to set the timezone in eclipse so that I don’t need to add
the parameter on the command line??
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Best Regards,
Adalbert Winkler
--
HELIOS Software GmbH
Adalbert Winkler
Steinriede 3
30827 Garbsen
Germany
Phone: 05131 709320
Fax: 05131 709325
E-Mail: email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden