Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows

Solving ORA-01882: timezone region not found

5.00/5 (3 votes)
26 Mar 2012CPOL 46.3K  
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)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)