• 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: Chuck Hill <email@hidden>
  • Date: Mon, 26 Oct 2015 17:13:34 +0000
  • Thread-topic: El Capitan - setting java timezone

As a guess, your OS might have this set to some name that Java is not recognizing.  Take a look in system preferences, and try changing it to something else and back again.

Chuck


From: <webobjects-dev-bounces+chill=email@hidden> on behalf of Calven Eggert <email@hidden>
Date: Monday, October 26, 2015 at 7:02 AM
To: WebObjects-Dev <email@hidden>, Gino Pacitti <email@hidden>
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?



On Oct 23, 2015, at 4:25 PM, Gino Pacitti <email@hidden> wrote:

What about in the Run Configuration?

<Screen Shot 2015-10-23 at 15.24.22.png><Screen Shot 2015-10-23 at 15.24.32.png>
On 23 Oct 2015, at 15:24, Calven Eggert <email@hidden> wrote:

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



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

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

  • Prev by Date: Looking for WO work
  • Next by Date: Re: El Capitan - setting java timezone
  • Previous by thread: Re: El Capitan - setting java timezone
  • Next by thread: Re: El Capitan - setting java timezone
  • Index(es):
    • Date
    • Thread