Menu

I cannot compile codak-core.

Support
2012-06-12
2012-07-13
  • Paul Huygen

    Paul Huygen - 2012-06-12

    Dear Wauter,

    I tried to download the conde and compile it, but got stuck. I did the following on an ubuntu 12.04 computer, equipped with Sun java 6:

    1. create a directory ~/projecten/NLP/codak
    2. Download the source in that directory with "git clone git://git.code.sf.net/p/codak/code codak-code".
    3. "cd codak-code/codak-core"
    4. mvn compile.

    The compilation failed with the following message:

    "
    /home/paul/projecten/NLP/codak/codak-code/codak-core/docbase-jdbc/src/main/java/net/sf/transorma/docbase/jdbc/ProcessingJobRecord.java:[70,26] incompatible types
    found : java.util.List<net.sf.transorma.docbase.jdbc.filerecord>
    required: java.util.Collection<net.sf.transorma.docbase.file>
    "</net.sf.transorma.docbase.file></net.sf.transorma.docbase.jdbc.filerecord>

    What did I do wrong?

    Thanks,

    Paul.

     
    • wauter

      wauter - 2012-06-19

      Hi,

      Do you have a specific reason to use sun jdk? Using openjdk will
      probably make this error disappear.

      Wauter

      On Tue, Jun 12, 2012 at 2:54 PM, Paul Huygen paulhuygennl@users.sf.net wrote:

      Dear Wauter,

      I tried to download the conde and compile it, but got stuck. I did the
      following on an ubuntu 12.04 computer, equipped with Sun java 6:

      create a directory ~/projecten/NLP/codak
      Download the source in that directory with "git clone
      git://git.code.sf.net/p/codak/code codak-code".
      "cd codak-code/codak-core"
      mvn compile.

      The compilation failed with the following message:

      "
      /home/paul/projecten/NLP/codak/codak-code/codak-core/docbase-jdbc/src/main/java/net/sf/transorma/docbase/jdbc/ProcessingJobRecord.java:70,26
      incompatible types
      found : java.util.List
      required: java.util.Collection
      "

      What did I do wrong?

      Thanks,

      Paul.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/codak/discussion/support/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/prefs/

       
  • Paul Huygen

    Paul Huygen - 2012-06-20

    Dear Wauter.
    You were right: the problem disappeared by using openjdk version 6.I used Sun java because I feared the opposite problem: software that does not work on openjdk but does work on Sun java.

    Thanks,

    Paul.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.