Hi, I am totally new to ProM6 and I have not much of a knowledge in scripts on Linux. Can anyone help me with a step-by-step installation and configuration guide for Prom6 on Linux CentOS6?
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?
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...
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:
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 directory ProM-Contexts.jar ProM-Framework.jar ProM-Models.jar ProM-Plugins.jar This 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 regards Alejandro Fuentes-delaHoz
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.
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.
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor). Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Comments
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.
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?
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>
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.
ProM-Framework.jar
ProM-Models.jar
ProM-Plugins.jar
ProM-Contexts.jar
ProM-Framework.jar
ProM-Models.jar
ProM-Plugins.jar
This 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 regards
Alejandro Fuentes-delaHoz
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
Savalan: is everything working OK now?
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
Previously Assistant Professor in Process Mining at Eindhoven University of Technology