This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 51127 - I18N - Cannot start IDE when installed in directory with czech characters
Summary: I18N - Cannot start IDE when installed in directory with czech characters
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords: I18N, RELNOTE
Depends on:
Blocks: 51382
  Show dependency tree
 
Reported: 2004-11-03 14:46 UTC by Lukas Hasik
Modified: 2008-12-22 20:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2004-11-03 14:46:05 UTC
-I installed nb40 to directory with czech characters. 
-It ends with 'Error' message - 'Cannot start IDE'
Comment 1 Lukas Hasik 2004-11-04 13:15:40 UTC
it's a little bit more complicated.

1, I used czech characters in english locale and only 'Cannot start
IDE' message appeared.

2, on czech locale I receive 
F:\netbeans\pěkňoučký ádrřěík\bin>nb.exe --jdkhome c:\jdk1.5.0_01
--userdir f:\netbeans\userdirs\testRunFromDirWithCze
chChars
Exception in thread "main" java.io.IOException: The system cannot find
the file specified 
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
        at java.io.File.getCanonicalPath(File.java:531)
        at java.io.File.getCanonicalFile(File.java:555)
        at org.netbeans.Main.build_cp(Main.java:336)
        at org.netbeans.Main.execute(Main.java:100)
        at org.netbeans.Main.main(Main.java:39)
Comment 2 Jan Chalupa 2004-11-05 13:21:47 UTC
Running the IDE from a directory with a name including non-English
characters is unsupported. Workaround exists -- install the IDE into a
directory with English-only names. Not a regression, NB 3.6 doesn't
work either (->P3).

Nice test case though.
Comment 3 Lukas Hasik 2004-11-09 17:30:05 UTC
Ken, do netbeans start on chinese(japanese) windows when nb is
installed in directory with chinese characters ? 
Comment 4 Ken Frank 2004-11-09 17:38:34 UTC
A long time ago there was a bug or issue on this and it seemed
decision was that not permitted to have ide installed in dir
with multibyte chars; and I'm guessing this applies to any
non ascii chars, as from this bug.

I've not heard issues about it before from customers, but of course
this can be raised as an issue to be fixed, since we can use non ascii
or multibyte
chars in other dirs that are used when one runs the ide.
That is, assumption is that for any other case, directory can
have both its name and file names in non ascii, depending of course
on support of the OS for it.

ken.frank@sun.com

11/09/2004

Comment 5 _ ttran 2004-11-09 20:53:29 UTC
Many command line tools we rely on are likely to break when they come
to  pathnames with non-usascii chars
Comment 6 David Konecny 2004-11-10 11:44:55 UTC
This is very close to issue 51136 which I closed as dup of issue
48902. I did not investigate 51136 further, but I believe it is either
OS or JDK bug. If I start NB on 1.5.0-b64 with "System Locale; Encod.
= cs_CZ (nb); Cp1250" then everything seems to be OK for me. If your
locale is EN and you use Czech characters then you have problems.
Comment 7 Lukas Hasik 2004-11-10 12:16:42 UTC
David, this is different issue. Netbeans don't start if they are
installed in non-ascii dir neither in czech locale nor english.
You should read my second comment to this issue more carefully.
Comment 8 David Konecny 2004-11-10 12:34:12 UTC
I see, I thought that you are talking about userdir instead of install
dir. Sorry, ignore my comments.
Comment 9 David Konecny 2004-11-11 15:27:40 UTC
If it is not supported, then this is WONTFIX. RELNOTE keyword still valid.
Comment 10 Marian Mirilovic 2005-07-12 10:01:32 UTC
closed