When use sun.beans.ole.Packager to create ActiveX registry file and tlb file. Package put wrong path of beans.ocx into the registry file. e.g
if a bean jar file under c:\sun\bdk\jars, and put c:\sun\classes as output directory for registry file and tlb file. Package create two files, reg file and tlb file. BUt inside the reg file, under the InprocServer32 key, it put c:\sun\classes\bin\beans.ocx as path to beans.ocx. This is not right path since no bin directory under c:\sun\classes. It should point to the correct JDK path.
Also the path to default icon file, awt.ico, is not right too.
Information about the environment
I test it under JDK1.3 beta. I used Window NT 4.0 with SP4. Hardware is Compaq PC
if a bean jar file under c:\sun\bdk\jars, and put c:\sun\classes as output directory for registry file and tlb file. Package create two files, reg file and tlb file. BUt inside the reg file, under the InprocServer32 key, it put c:\sun\classes\bin\beans.ocx as path to beans.ocx. This is not right path since no bin directory under c:\sun\classes. It should point to the correct JDK path.
Also the path to default icon file, awt.ico, is not right too.
Information about the environment
I test it under JDK1.3 beta. I used Window NT 4.0 with SP4. Hardware is Compaq PC
- duplicates
-
JDK-4285096 sun.beans.ole.Packager produces wrong registry-data, (Acrive X bridge)
-
- Closed
-