Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ag108

Pages: [1]
1
General Board / Re: using Java to access eap
« on: July 29, 2014, 10:15:17 pm »
Thank you both. I am running a 64 bit JVM. Time to load in the 32 bit Java.

2
General Board / using Java to access eap
« on: July 29, 2014, 06:20:56 am »
Hi, I'm brand new to Sparx EA and have been trying to get the java examples to work. I'd like to have a Java program access an eap we built. I set up eclipse and tried accessing a repository using
    org.sparx.Repository r = new org.sparx.Repository();
and got:
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 also tried to use the ExampleUI and got:
   java.net.MalformedURLException
I wasn't sure how to set the URL. Here's what I tried:
urlString = "file:///C:/Program Files (x86)/Sparx Systems/EA/Code Samples/Java_Sample/src/org/sparx/javaexample/examples";

Sorry for all the nitty gritty. If there's some simple way to gain access, I'd greatly appreciate any pointers.
    Thank you,
    ag

Pages: [1]