Compile Prom 6.5 on Mac OS X 10.10
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.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 45 Announcements / News
- 225 Process Mining
- 6 - BPI Challenge 2020
- 9 - BPI Challenge 2019
- 24 - BPI Challenge 2018
- 27 - BPI Challenge 2017
- 8 - BPI Challenge 2016
- 68 Research
- 1K ProM 6
- 393 - Usage
- 287 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame