65.9K
CodeProject is changing. Read more.
Home

Solving ORA-01882: timezone region not found

starIconstarIconstarIconstarIconstarIcon

5.00/5 (3 votes)

Mar 26, 2012

CPOL
viewsIcon

46263

Solving the ORA-01882 error.

Introduction

You might face a sqldeveloper error while working on a Windows environment related to timezone, installing Oracle sqldeveloper 64bit edition on Windows 7 64 bit.

Background

For accessing an Oracle database you need to have the right tools. Oracle has provided developers with a solid tool (sqldeveloper 3.1), you will face no installation issues but when executing a query, you will get the timezone error.

Solution

SQL Server Developer:

Edit this config file: C:\Program Files\sqldeveloper 3\sqldeveloper\bin\sqldeveloper.conf then add this line anywhere in the file:

AddVMOption -Duser.timezone="+02:00" (My time zone)

Oracle Data Modeler

Edit this config file: C:\Program Files\datamodeler 3\datamodeler\bin\datamodeler.conf, then add this line anywhere in the file:

AddVMOption -Duser.timezone="+02:00" (My time zone)