Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ed on August 19, 2010, 09:54:45 pm

Title: Gen Report using automation interface and Java 64
Post by: Ed on August 19, 2010, 09:54:45 pm
Hello, I'm looking to simply load an EAP and generate a report using Java.
I would like to automate this process as a part of my build process.
I followed the directions about using SSJavaCOM.dll.
However I recieve the following error message when I try to run a simple test:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Windows\System32\SSJavaCOM.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
It would appear this dll does not support 64 bit operating systems.
Is there a work around or a 64 bit version of this dll I can use?

Thanks,
Ed
Title: Re: Gen Report using automation interface and Java
Post by: Geert Bellekens on August 19, 2010, 10:30:14 pm
No, EA doesn't exist in 64bit country.

Geert
Title: Re: Gen Report using automation interface and Java
Post by: Ed on August 19, 2010, 10:32:21 pm
Thanks for the quick answer.
Any alternatives to automating the creation of the HTML report on a 64 bit host?
I'm assuming i'll have the same problem with C# on 64 bit... :(
Title: Re: Gen Report using automation interface and Java
Post by: Geert Bellekens on August 19, 2010, 11:19:27 pm
Compile as 32bit?

Geert
Title: Re: Gen Report using automation interface and Java
Post by: smendonc on August 19, 2010, 11:22:35 pm
To integrate with Java on a 64 bit platform you need to install the 32 bit Java runtime and integrate with it instead of the 64 bit runtime.

There is no issue with C# unless the use x64 bit CPU flag is explicitly set - the default is 'Any Cpu' (at least in visual studio).  I do most of my development in C# on a 32 bit machine but deploy to 64 bit servers with no issues.

Stan.