Name: gm110360 Date: 03/12/2003
FULL PRODUCT VERSION :
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
FULL OS VERSION :
Japanese
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
This problem occurs only when the user name consists of Japanese characters. If a Romanized user name is used, the problem does not occur. My user name is seki (in Japanese characters); therefore, my user directory is C:\Documents and Settings\seki (seki is in Japanese characters).
The symptoms are:
At the top of the console, my user directory is shown as C:\Documents and Settings\???<<.
Items such as .jpi_cache and .plugin141_02.trace are not in my user directory but are instead in a directory called C:\Documents and Settings\<strange characters>. The 'strange characters' consist of a dot, superscript 1, dot, double less than sign.
Writing a file to user.home (and user.dir) fails.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Log into Windows with a Japanese user name. Run an applet and look at the console. You can also print System.getProperty("user.dir").
I was unable to create a file in either user.home or user.dir.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Here is my console for a signed applet that prints the user.home and user.dir values.
Java(TM) Plug-in: ?o?[?W???? 1.4.1_02
?g?p???Ì JRE ?Ì?o?[?W???? 1.4.1_02 Java HotSpot(TM) Client VM
???[?U?Ì?z?[???f?B???N?g?? = C:\Documents and Settings\????á
?v???L?V?Ì?Ý?è: ?v???L?V?È?µ
----------------------------------------------------
c: ?R???\?[???E?B???h?E?ð?N???A
f: ?t?@?C?i???C?Y?L???[?Ì?I?u?W?F?N?g?ð?t?@?C?i???C?Y
g: ?K?x?[?W?R???N?g
h: ?±?Ì?w???v???b?Z?[?W?ð?\?¦
l: ?N???X???[?_???X?g?ð?_???v
m: ???????g?p?¦?ð?\?¦
o: ?g???K???O
p: ?v???L?V?Ý?è?ð?Ä???[?h
q: ?R???\?[???ð?ñ?\?¦
r: ?|???V?[?Ý?è?ð?Ä???[?h
s: ?V?X?e???v???p?e?B?ð?_???v
t: ?X???b?h???X?g?ð?_???v
v: ?X???b?h?X?^?b?N?ð?_???v
x: ?N???X???[?_?L???b?V???ð?N???A
0-5: ?g???[?X???x???ð <n> ?É?Ý?è
----------------------------------------------------
2003/03/11 13:59:33 java.util.prefs.WindowsPreferences <init>
?x??: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
java.util.zip.ZipException: ?t?@?C???¼?A?f?B???N?g???¼?A?Ü?½?Í?{?????[?? ???x???Ì?\?¶?ª?Ô?á?Á?Ä?¢?Ü?·?B
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.plugin.cache.CachedJarLoader.authenticate(Unknown Source)
at sun.plugin.cache.CachedJarLoader.access$600(Unknown Source)
at sun.plugin.cache.CachedJarLoader$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.cache.Cache.privileged(Unknown Source)
at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
at sun.plugin.cache.JarCache.get(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
user.home: C:\Documents and Settings\????á user.dir: C:\Documents and Settings\?¹?«\?f?X?N?g?b?v
Downloading file to C:\Documents and Settings\????á
Loading C:\Documents and Settings\????á\remotedrive.dll
2003/03/11 13:59:36 java.util.prefs.WindowsPreferences WindowsRegOpenKey1
?x??: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0x80000002.
2003/03/11 13:59:36 java.util.prefs.WindowsPreferences openKey
?x??: Could not open windows registry node Software\JavaSoft\Prefs at root 0x80000002. Windows RegOpenKey(...) returned error code 2.
Initialization error. Library not installed.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 182430)
======================================================================
- duplicates
-
JDK-4711723 JRE can't load applets in a disk location with accent
-
- Closed
-