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.
HowTo Install ProM6 on Linux (CentOS6), any dependencies?
Comments
-
Hi Savalan,
First of all: welcome on board!!!
I think that not much needs to be configured to run ProM, as long as you have Java 1.6 installed everything should work just fine!
Let me know if you encounter any problems.
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 -
Thanks JBuijs for your reply
I downloaded the tar.gz and now I have a folder extracted with some .exe and .jar file... no ./configure or make or install file is included... what should I do to install ProM6 now?
-
<body>
I mean I run ProM6.bat and ProM6.jar but I get this:
[...CentOS ProM6]# ./ProM6.bat
Exception in thread "main" java.lang.NoClassDefFoundError: org/processmining/contexts/uitopia/UI
Caused by: java.lang.ClassNotFoundException: org.processmining.contexts.uitopia.UI
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
. Program will exit.ain class: org.processmining.contexts.uitopia.UI
thats why i thought there must be something I'm missing here...
Thanks
</body>
-
Hi savalan:The .bat files work only in Microsoft Windows. On linux you have to build .sh files to run ProM. The structure is quite similar, but the with some important differences. I'm using a script like this:ProM6.sh----------------------#!/bin/shexport CLASSPATH=$CLASSPATH:./ProM-Contexts.jarexport CLASSPATH=$CLASSPATH:./ProM-Framework.jarexport CLASSPATH=$CLASSPATH:./ProM-Models.jarexport CLASSPATH=$CLASSPATH:./ProM-Plugins.jarexport CLASSPATH=$CLASSPATH:lib/axis.jarexport CLASSPATH=$CLASSPATH:lib/bsh-2.0b4.jarexport CLASSPATH=$CLASSPATH:lib/collections-generic-4.01.jar... (rest of the jars in lib)export CLASSPATH=$CLASSPATH:lib/colt.jarexport CLASSPATH=$CLASSPATH:lib/commons-compress-1.0.jarjava -ea -Xmx2G -XX:MaxPermSize=1G -classpath $CLASSPATH org.processmining.contexts.uitopia.UI-----------------------------------------------------------------Hope this help you.Best regardsAlejandro Fuentes-delaHozPhD(c) - PUC/Chile
-
Hi Alejandro,
Thanks for replying.
here is the bash I created based on what you suggested:
ProM6.sh
----------------------
#!/bin/sh
export CLASSPATH=$CLASSPATH:./ProM-Contexts.jar
export CLASSPATH=$CLASSPATH:./ProM-Framework.jar
export CLASSPATH=$CLASSPATH:./ProM-Models.jar
export CLASSPATH=$CLASSPATH:./ProM-Plugins.jar
export CLASSPATH=$CLASSPATH:lib/axis.jar
export CLASSPATH=$CLASSPATH:lib/jung-visualization-2.0.jar
export CLASSPATH=$CLASSPATH:lib/bsh-2.0b4.jar
export CLASSPATH=$CLASSPATH:lib/layouts.jar
export CLASSPATH=$CLASSPATH:lib/collections-generic-4.01.jar
export CLASSPATH=$CLASSPATH:lib/mydoggy-api-1.4.1.jar
export CLASSPATH=$CLASSPATH:lib/colt.jar
export CLASSPATH=$CLASSPATH:lib/mydoggy-plaf-1.4.1.jar
export CLASSPATH=$CLASSPATH:lib/commons-compress-1.0.jar
export CLASSPATH=$CLASSPATH:lib/mydoggy-res-1.4.1.jar
export CLASSPATH=$CLASSPATH:lib/commons-math-1.2.jar
export CLASSPATH=$CLASSPATH:lib/OpenXES.jar
export CLASSPATH=$CLASSPATH:lib/derby.jar
export CLASSPATH=$CLASSPATH:lib/OpenXES-XStream.jar
export CLASSPATH=$CLASSPATH:lib/FilterableSortableTablePanel.jar
export CLASSPATH=$CLASSPATH:lib/pojava.jar
export CLASSPATH=$CLASSPATH:lib/flanagan.jar
export CLASSPATH=$CLASSPATH:lib/simmetrics.jar
export CLASSPATH=$CLASSPATH:lib/jargs.jar
export CLASSPATH=$CLASSPATH:lib/slickerbox1.0rc1.jar
export CLASSPATH=$CLASSPATH:lib/jcommon-1.0.14.jar
export CLASSPATH=$CLASSPATH:lib/Spex.jar
export CLASSPATH=$CLASSPATH:lib/jfreechart-1.0.11.jar
export CLASSPATH=$CLASSPATH:lib/TableLayout-20050920.jar
export CLASSPATH=$CLASSPATH:lib/jgraphlayout.jar
export CLASSPATH=$CLASSPATH:lib/Uitopia.jar
export CLASSPATH=$CLASSPATH:lib/jgrapht-jdk-1.5.jar
export CLASSPATH=$CLASSPATH:lib/UITopiaResources.jar
export CLASSPATH=$CLASSPATH:lib/jlfgr-1_0.jar
export CLASSPATH=$CLASSPATH:lib/weka.jar
export CLASSPATH=$CLASSPATH:lib/jung-algorithms-2.0.jar
export CLASSPATH=$CLASSPATH:lib/XESameResources.jar
export CLASSPATH=$CLASSPATH:lib/jung-api-2.0.jar
export CLASSPATH=$CLASSPATH:lib/xpp3-1.1.4c.jar
export CLASSPATH=$CLASSPATH:lib/jung-graph-impl-2.0.jar
export CLASSPATH=$CLASSPATH:lib/xstream-1.3.1.jar
java -ea -Xmx2G -XX:MaxPermSize=1G -classpath $CLASSPATH org.processmining.contexts.uitopia.UI
------------------
and I ran the .sh file and result was:
---------------------
Exception in thread "main" java.lang.NoClassDefFoundError: org/processmining/contexts/uitopia/UI
Caused by: java.lang.ClassNotFoundException: org.processmining.contexts.uitopia.UI
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: org.processmining.contexts.uitopia.UI. Program will exit.
---------------------
I dont have a clue how I should fix this.
your help is highly appreciated.
Sav.
-
Hi savalan:This error means that some of the ProM basic jars is missing. Check that this files exists in this directoryProM-Contexts.jar
ProM-Framework.jar
ProM-Models.jar
ProM-Plugins.jarThis is the names of the jars when you get them from the CVS. If you download the package version they could have different names.Best regardsAlejandro Fuentes-delaHoz -
Hi savalan:This error means that some of the ProM basic jars is missing. Check that this files exists in this directoryProM-Contexts.jar
ProM-Framework.jar
ProM-Models.jar
ProM-Plugins.jarThis is the names of the jars when you get them from the SVN. If you download the package version they could have different names.Best regardsAlejandro Fuentes-delaHoz -
Yaay!
Hi Alejandro.
Thanks, installing seems to work now. I ran the .sh file and it started downloading some packages and plug-ins.
then the application started.
but do i need to run the .sh file to start ProM every time? is there any quicker way to run the application cause it checks for the plugins online each time... I added my ProM directory to my PATH and when I run the command as ProM6.sh this is what I get:
-----------------
...CentOS ~]$ ProM6.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/processmining/contexts/uitopia/UI
Caused by: java.lang.ClassNotFoundException: org.processmining.contexts.uitopia.UI
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: org.processmining.contexts.uitopia.UI. Program will exit.
-------------
but it works fine in ProM directory.
and something else... it runs extremely slow. each time I click on something it takes 1-2 seconds to react!
is there anything I'm missing?
again, thanks a million. I'm happy it got installed eventually.
Sav
-
and... how do I run the Package manager?!
-
ok, I fixed the command line problem by adding my ProM directory to each line of .sh file... but couldnt come up with a solution/answer for the rest of my questions.
-
Hi savalan:To run the package manager you have to create a .sh just like the other, but with a different final line:java -ea -Xmx2G -XX:MaxPermSize=256m -classpath $CLASSPATH org.processmining.contexts.uitopia.packagemanager.PMFrameBest regardsAlejandro Fuentes-delaHoz
-
Alfuente: Thank you very much for your help!!!
Savalan: is everything working OK now?
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
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