0

I am trying to incorporate IBM JAR files in apex or Visualforce in order to make an API call?

Should I be storing the JAR file folder in static resources?

If yes, is there a way to utilize the java class files in apex?

Any suggestions are appreciated. Thanks in advance.

1
  • 2
    it is not possible AFAIK
    – Eric
    Jun 22, 2016 at 23:15

1 Answer 1

3

You can't run Java in Apex Code. While they are similar languages, Apex Code is not Java, and cannot directly run Java. You will have to "port" the code over to native Apex Code or host the code on an alternative server like Heroku, and call out to that instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.