Bug 33844 - [README] Error detecting required JREs under GB18030 path
Summary: [README] Error detecting required JREs under GB18030 path
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2003-03-05 10:43 EST by John Arthorne CLA
Modified: 2012-05-30 06:40 EDT (History)
1 user (show)

See Also:


Attachments
Log file containing stack trace (6.95 KB, text/plain)
2003-03-05 10:44 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2003-03-05 10:43:36 EST
Build: 2.1 RC1

This is a spin-off from bug 33412.

This bug deals with the fact that the automatic JAR detection fails when the JRE
is under a path containing GB18030 characters.  Here are the steps:

1) Install an IBM 1.4.0 JRE in a directory that contains GB18030 characters in
the path.
2) Install eclipse in a directory that does NOT contain GB18030 chars.
3) Launch eclipse using a JRE that does NOT contain GB18030 chars.
4) Under Preferences > Java > Installed JREs, add a new JRE.
5) Select the JRE that is located under the GB18030 path

Observe: it fails to correctly detect all the required system libraries.  It
finds all the libraries under the "ext" directory, but fails to find the basic
liraries (core.jar, security.jar, xml.jar, etc).

The log file contains a stack trace (log attached).
Comment 1 John Arthorne CLA 2003-03-05 10:44:09 EST
Created attachment 3845 [details]
Log file containing stack trace
Comment 2 Darin Wright CLA 2003-03-05 10:56:19 EST
John, what happens if you Eclipse on a Sun 1.4.1 VM, or an IBM 1.4 VM? I 
believe this is a VM limitation.
Comment 3 John Arthorne CLA 2003-03-05 11:14:43 EST
I will investigate a bit further.  I also suspect this is a VM limitation.
Comment 4 Darin Wright CLA 2003-03-19 16:47:41 EST
Deferred. However, any more input is appreciated (this may not be a debug 
problem - it might be a class library issue).
Comment 5 John Arthorne CLA 2003-03-19 17:00:45 EST
Sorry, I thought I had already followed up to this.  You guys are forking a new
"java" process to detect the JARs.  Trying to run any java program when the java
runtime is installed in a GB18030 directory will fail.  For example:

- install JRE in c:\??\jre (where ?? is a GB18030 char)
- put a HelloWorld.class file in c:\temp
- try to run HelloWorld using the jre from c:\??\jre

-> Fails to create VM.

So, this is definitely a VM limitation.  I tried this on a variety of 1.3 and
1.4 JREs and JDKs from IBM and Sun.
Comment 6 Darin Wright CLA 2003-03-19 17:21:29 EST
marking as a README. Will not fix.
Comment 7 Darin Wright CLA 2003-03-19 17:21:45 EST
won't fix.