i made a dll in .net and call that from java program using jacob.since yesterday i have windows 7 32 bit os so program run successfully.now i formated and install windows 7
Use a 32bit JVM to execute your code.
The DLL of the COM object you are trying to use needs to be registered. The jacob dll's do not provided they are available in the library path.