I have the latest version of Java installed on my system.
But I wonder why when I run any program, the location from where java executes is
[prompt ~]$ which java /usr/bin/java [prompt ~]$ ls -l /usr/bin/java lrwxrwxrwx 1 root root 22 Jul 23 15:13 /usr/bin/java -> /etc/alternatives/java [prompt ~]$ ps -ef | grep tomcat www 11279 1 0 Jul23 ? 00:02:12 /usr/java/latest/bin/java -D...
Is there a way that I can set where
java should execute from?
- (In my case, I want it to execute from