Javaitor

2009/09/15

DBVisualizer i18n Error

Filed under: Euskara, i18n

While connecting to an Oracle database with DbVisualizer Free 6.5.9 I got

An error occurred while establishing the connection:
Type: java.sql.SQLException Error Code: 17176
Message:
Locale not recognized

Of course, my locale is not English. In fact, it is Basque:

$ locale
LANG=eu_ES.UTF-8
LC_CTYPE=”eu_ES.UTF-8″
LC_NUMERIC=”eu_ES.UTF-8″
LC_TIME=”eu_ES.UTF-8″
LC_COLLATE=”eu_ES.UTF-8″
LC_MONETARY=”eu_ES.UTF-8″
LC_MESSAGES=”eu_ES.UTF-8″
LC_PAPER=”eu_ES.UTF-8″
LC_NAME=”eu_ES.UTF-8″
LC_ADDRESS=”eu_ES.UTF-8″
LC_TELEPHONE=”eu_ES.UTF-8″
LC_MEASUREMENT=”eu_ES.UTF-8″
LC_IDENTIFICATION=”eu_ES.UTF-8″
LC_ALL=

The JDBC driver is Oracle Thin 10.2, from a source file called ojbdc14.jar

The workaround is here. First, add English locale. Check it is here:

$ less /usr/share/i18n/SUPPORTED

and add the locale:

$ locale-gen en_GB

Second, set the English locale before you launch DBVisualizer:

$ LANG=en_GB; export LANG
$ dbvis&

Comments »

The URI to TrackBack this entry is: http://javaitor.blogsome.com/2009/09/15/dbvisualizer-error/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


Get free blog up and running in minutes with Blogsome | Theme designs available here