Running EPF (Eclipse Process Framework) in Linux
For many time I wanted to learn to use EPF bu technical reasons always stoped me. Blame me because I'm not an Eclipse guy and I'm not into its eclipse-isms but until today I have not been able to launch it. Now, wirth this really simple recipe you'll be able to run it.
Initial technical scenario:
- Fedora 23 Linux, 64 bits
- Oracle Java 64 bits (using 1.8 from Russian Fedora)
- Last release of EPF (tested with 1.5.1.7)
Then unzip the file and execute:
$ unzip epf-composer-1.5.1.7-linux.zip $ cd epf-composer [epf-composer]$ ./epf Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/olea/epf-composer/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/eclipse_1310.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. (Epf:27092): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (Epf:27092): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Gtk-Message: Failed to load module "pk-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module"
If you, like me, don't know nothing about Eclipse maybe you are doomed because the real problem is everything but clear. What you are having is the EPF application asking for a 32 bits java VM runtime. Nothing more, nothing less. But now is very easy to fix:
- just get a 32 bits java VM
- adjust epf-composer/epf.ini to use it
$ sudo dnf install http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/updates/23/x86_64/java-1.7.0-oracle-1.7.0.79-1.fc23.R.i586.rpmand then change ~/epf-composer/epf.ini from this:
-data @user.home/EPF/workspace.151 -vmargs -Xms64m -Xmx512m
to this:
-vm /usr/lib/jvm/java-1.7.0-oracle-1.7.0.79/jre/bin/java -data @user.home/EPF/workspace.151 -vmargs -Xms64m -Xmx512m
Please note the precise path may be different in your system but in any case it should point to a 32 bit java binary.
Then you just need to launch EPF and you are ready:
$ epf-composer/epfEnjoy.