5

Configure what JVM Eclipse runs in

view full story
linux-howto

http://askubuntu.com – How do I configure what JVM Eclipse runs in? I'm trying to switch it to use my installed java-6-sun so that I can use jstack to figure out why Eclipse is spinning endlessly in certain situations. I recently upgraded to Ubuntu 12.04, and I'm using the pre-packaged Ubuntu Eclipse 3.7.2. I tried to adding the -vm option to eclipse.ini (immediately above the -vmargs line in my /etc/eclipse.ini), but top still shows that Eclipse is running with plain old /usr/bin/java. The Ubuntu community wiki article for Eclipse mentions /etc/eclipse/java_home, which doesn't exist on my system. (HowTos)