To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

Compile Prom 6.5 on Mac OS X 10.10

margusja
edited July 2015 in ProM 6

I try to compile ProM 6.5 from svn.

Using eclipse I will get error:

Buildfile: /Users/margusja/Documents/workspace/ProM/launch/build.xml

 

init:

        [echo] Bytecode format: ${bytecode_format}

        [echo] Used javac version: (should be 1.5.0_16 or 1.6.0_07)

        [echo] javac 1.7.0_09

 

compile-framework:

 

compile-models:

        [echo] Compiling the models

       [javac] Compiling 82 source files to /Users/margusja/Documents/workspace/ProM/bindist

       [javac] javac: invalid target release: ${bytecode_format}

       [javac] Usage: javac <options> <source files>

       [javac] use -help for a list of possible options

 

BUILD FAILED

/Users/margusja/Documents/workspace/ProM/launch/build.xml:250: The following error occurred while executing this line:

/Users/margusja/Documents/workspace/ProM/launch/build.xml:42: Compile failed; see the compiler error output for details.

 

Total time: 1 second

Looking inside build.xml I see there lines:

<!-- java version check -->

<!-- Write java version -->

<echo message="Used javac version: (should be 1.5.0_16 or 1.6.0_07)" />

<exec executable="javac" outputproperty="javacVersion">

<arg value="-version" />

</exec>

<echo message="${javacVersion}" />

<condition property="javac_ok">

<or>

<and>

<equals arg1="${bytecode_format}" arg2="1.5" />

<contains string="${javacVersion}" substring="1.5" />

</and>

<and>

<equals arg1="${bytecode_format}" arg2="1.6" />

<contains string="${javacVersion}" substring="1.6" />

</and>

</or>

</condition>

But I have java 1.7. 

 

Best regards, Margusja

 

Answers

  • Dear Magusja,

    Are you sure you are using Java 1.7 for compilation? If you have multiple Java versions installed, another version might be selected...

    Let us know if this helps.

    Joos Buijs

    Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
    Previously Assistant Professor in Process Mining at Eindhoven University of Technology
  • Thank you for the help. It helped.
Sign In or Register to comment.