PDA

View Full Version : mucking with alternatives and now java wont work


raphtee
January 25th, 2007, 02:58 PM
I recently installed various java sdk's. I setup my path in my .bashrc so that the directory with the java I like was first. However I noticed that whenever i run Azureus or any other program from the menu I notice that it is using the ubuntu built in jvm to run the app (somthing called oji or something). When I run these apps from the command line I get the jvm that is in my path. I attempted mucking around with the alternatives system but now nothing involving java works from the menu. I am about to attempt the worst option which is to simply set /usr/bin/java to be a sybolic link to what I want directly rather than dealing with it pointing to the /etc/alternatives/java that it does now.

My question is this. Why the different behavior when running apps from the command line versus running them from the pull down menus?

raphtee