Re: Locales and Java
On Tue, Feb 12, 2002 at 11:29:08AM +0100, Andreas von Heydwolff wrote:
| >It seems that Java could not find the classes (in com.ibm.speechapps.*).
It was complaining about locating a ResourceBundle (see the javadocs
for java.util.ResourceBundle), not a class. (for the latter you would
have seen a "NoClassDefFoundError" exception and a stack trace)
| Perhaps my Java installation is not complete anyway? I don't seem to
| have a dir "/usr/lib/j2sdk1.3/", just
...
| and, perhaps more like it,
|
| :/usr/lib/j2re1.3/lib/ext# ls -a
The 're' directory is for the "JRE" (Java Runtime Environment). It is
all you need to _run_ java programs. The "sdk" directory is for the
"SDK" (Software Development Kit) which is needed only if you want to
develop java programs (eg compile from source).
| Should I just put the jars into the latter dir, or create the path you
| mentioned?
Either set $LANG to something that the app can handle, or make a
resource bundle (a file named
com/ibm/.../<basename>_<country code>.properties) in the CLASSPATH.
-D
--
If we confess our sins, He is faithful and just and will forgive us our
sins and purify us from all unrighteousness.
I John 1:9
Reply to: