seckel
asked on
Problem with registration of Java/COM
I have a Java class called ValidateCertificate.
I am using Java/COM Registration Utility 2.6 and I type in the following command line:
C:\>javareg /register /class:ValidateCertificate /progid:JavaValidateCertif icate /typelib:ValidateCertifica te.tlb
I get the following error:
"Unable to create the type library for the specified Java class."
Any suggestions what this error means and how to correct the problem?
I am using Java/COM Registration Utility 2.6 and I type in the following command line:
C:\>javareg /register /class:ValidateCertificate
I get the following error:
"Unable to create the type library for the specified Java class."
Any suggestions what this error means and how to correct the problem?
ASKER
Its not in a package.
I compiled the source and moved the class into WINNT/Java/trustlib directory.
I compiled the source and moved the class into WINNT/Java/trustlib directory.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Do you know how I can create a type library?
If you use the command with the typelib switch, the typelib will be created by the javareg utility. See the following link for examples and explanations: http://www.tburke.net/info/reskittools/topics/javareg_examples.htm
Thanks for the points, could you please explain the B grade? Was there something in my answers that wasn't correct and/or not satisfactory?
=-)
Thanks for the points, could you please explain the B grade? Was there something in my answers that wasn't correct and/or not satisfactory?
=-)
Which package is your Java class in?
Cheers!
\tt