Book a Demo

Author Topic: EA with JAVA API error  (Read 4600 times)

brk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
EA with JAVA API error
« on: April 14, 2014, 08:42:07 pm »
Hi Friends,

I have a problem to have interface between EA and Java API from Eclipse. I did the procedure as shown in EA documentation.


step1 : Copy the file SSJavaCOM.dll  from the Java API subdirectory of your installed directory, usually: Program Files/Sparx Systems/EA into any location within the Windows PATH windows\system32 directory.

step2:  Copy the file eaapi.jar from the Java API subdirectory of your installed directory, usually: Program Files/Sparx Systems/EA to a location in the Java CLASSPATH or where the Java class loader can find it at run time.
 
While accessing the EA project from Eclipse the following Error is poped up : 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

I have  64 bit Windows 7 operating system with 64 bit JRE. Should i use 32 bit JRE ?

Thanks for your time.

Regards,
Ram

 

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: EA with JAVA API error
« Reply #1 on: April 15, 2014, 09:13:16 am »
To interact with the EA Java API under a 64-bit environment, you will need to install the 32-bit version of the JDK/JRE.  The 64-bit version of the JRE is not compatible.

Please also note that under 64-bit operating systems, the SSJavaCOM.dll file will need to be copied to C:\Windows\SysWOW64.

brk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA with JAVA API error
« Reply #2 on: April 15, 2014, 05:33:30 pm »
Thanks a lot.

I will try with JRE 32 bit.

Many thanks for your reply.

Regards,
Ram

brk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA with JAVA API error
« Reply #3 on: April 21, 2014, 01:22:15 am »
It is working.Many thanks for your reply.

Regards,
Ram