1

Choosing which JVM to use in Ubuntu

view story
linux-howto

http://stackoverflow.com – I have Java 1.6 and Java 1.7 in different directories (/usr/java) and a soft link pointing to one of them (the one I wish to use at that time). i.e.: total 16 drwxr-xr-x 4 root root 4096 Jan 31 12:16 ./ drwxr-xr-x 11 root root 4096 Jan 30 12:52 ../ lrwxrwxrwx 1 root root 6 Jan 31 12:16 default -> java6// lrwxrwxrwx 1 root root 12 Jan 31 12:15 java6 -> jdk1.6.0_37// lrwxrwxrwx 1 root root 12 Jan 31 12:15 java7 -> jdk1.7.0_11// drwxr-xr-x 8 david david 4096 Jan 30 18:16 jdk1.6.0_37/ drwxr-xr-x 8 david david 4096 Jan 31 12:14 jdk1.7.0_11/ This means I can just (HowTos)