Author Topic: Gen Report using automation interface and Java 64  (Read 3504 times)

Ed

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Gen Report using automation interface and Java 64
« 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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Gen Report using automation interface and Java
« Reply #1 on: August 19, 2010, 10:30:14 pm »
No, EA doesn't exist in 64bit country.

Geert

Ed

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Gen Report using automation interface and Java
« Reply #2 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... :(

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Gen Report using automation interface and Java
« Reply #3 on: August 19, 2010, 11:19:27 pm »
Compile as 32bit?

Geert

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Gen Report using automation interface and Java
« Reply #4 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.