Java2Op, great tool !  Is there any info about error messages or a verbose mode?  I get a "Generic Type not found" error when processing a jar library, with no more clues.  I've tried specifying just a very small class in the jar with the -classes parameter, same problem.

Comments

  1. Did you try with all classes from the jar? There could be references from your "very small class".

    ReplyDelete
  2. Already submitted an issue at Quality site (AP-97), not urgent in any way. I was just trying / experimenting with java2op.

    ReplyDelete
  3. I just tested

    Java2OP.exe -jar TeeChart.Android.jar

    And got a 794kb large Androidapi.JNI.Interfaces.pas without any error messages. Are you sure you installed correctly?

    ReplyDelete
  4. Oops, thanks for testing ! I might have a different jdk then, I use a bat that sets the jre path before calling java2op. I'll re-check.

    ReplyDelete
  5. Should be 1.7.0_25:

    SET PATH=%PATH%;C:\Program Files\Java\jdk1.7.0_25\bin

    ReplyDelete
  6. Ah that might be it. I'm using 1.8.0_20 right now.

    ReplyDelete

Post a Comment