-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b17
-
x86
-
windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2064690 | 5.0 | Devananda Jayaraman | P3 | Resolved | Fixed | tiger |
###@###.### 2003-02-06
J2SE Version (please include all output from java -version flag):
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b14)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b14, mixed mode)
Does this problem occur on J2SE 1.3, 1.4 or 1.4.1?
NO
Operating System Configuration Information (be specific):
Microsoft Windows 2000 [Version 5.00.2195]
Service Pack 3
Latest Security Patches
Hardware Configuration Information (be specific):
Standard PC (320MB RAM, P3-450)
ATI RAGE PRO TURBO AGP 2X
Bug Description:
Packager does not find some idl file when the environment variable TMP
points to some directory that has blanks in it's name.
This is very problematic since on some OS version (e. g. W2K) TMP defaults
to "Documents and Settings", what has blanks in it's name by default.
Workaround:
Before starting Packager, make TMP point to C:
Steps to Reproduce (be specific):
- Reboot Windows 2000 machine.
- Login.
- Start -> Execute -> CMD
- Start packager
See this result:
C:\>set TMP=C:\Documents and Settings\Administrator\TMP
C:\>C:\j2sdk1.4.2\bin\packager -out C:\Programme\Java\j2re1.4.2\axbridge\bin C:SampleActiveX.jar SampleActiveX
java.io.FileNotFoundException: C:\Documents\SampleActiveX.idl (Das System kann d
en angegebenen Pfad nicht finden)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at sun.plugin.com.Packager.<init>(Packager.java:48)
at sun.plugin.com.Packager.main(Packager.java:57)
java.lang.NullPointerException
at sun.plugin.com.Packager.generate(Packager.java:69)
at sun.plugin.com.Packager.main(Packager.java:57)
Die IDL-Datei konnte nicht gefunden werden..
(The German message are translated: "(The System cannot find the given path)" and "The IDL-file could not be found..".
- backported by
-
JDK-2064690 ActiveX Packager does not work when environment variable TMP contains blanks
- Resolved