This discussion is archived
1 Reply Latest reply: Dec 30, 2009 1:18 AM by 843804 RSS

Registering an ActiveX Bean control...

843804 Newbie
Currently Being Moderated
Dear All,

I've done a little searching around for people in similar situations, but all I could find were a number of people with similar problems, alas without solutions.

Here we go:

I've followed the steps outlined here (http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html) to build a Bean and wrap it up into an ActiveX DLL.

I have managed to build the DLL, but when it gets to the end of the compilation process (or by using regsvr32), it comes up with:

"Registration failed:
The packages JavaBean is not located under the directory <jre_home>\axbridge\bin"

My environment is configured thus:

JRE_HOME=C:\Program Files\Java\jdk1.6.0_11

The DLL is inserted in:

C:\Program Files\Java\jdk1.6.0_11\axbridge\bin

and is located alongside the original jar.

Also, to add to the mix, this is being performed on a Vista machine, and I have tried running this as an administrator.

Any help would be much appreciated.

Thanks,

David.