• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: El Capitan - setting java timezone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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??

Calven





 _______________________________________________
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

References: 
 >El Capitan - setting java timezone (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5
  • Next by Date: Re: Apps launch fine from the command line but not from JavaMonitor - CentOS 6.5
  • Previous by thread: El Capitan - setting java timezone
  • Next by thread: Re: El Capitan - setting java timezone
  • Index(es):
    • Date
    • Thread