File: README.alternatives.in

package info (click to toggle)
sun-java6 6-26-0lenny1
  • links: PTS, VCS
  • area: non-free
  • in suites: lenny
  • size: 167,260 kB
  • ctags: 111
  • sloc: sh: 649,491; makefile: 802
file content (23 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

Packages providing a runtime or a development environment for the Java
language all use symlinks in the /etc/alternatives directory to enable
the system administrator to choose which programs to use for java,
javac, javah, etc.

Starting with java-common 0.23ubuntu1, the update-java-alternatives
script can be used to set a bunch of jre/jdk alternatives:

- Set all runtime tools to point to the @basename@ alternatives:

  update-java-alternatives --jre --set java-6-sun


- Set all runtime and development tools to point to the @basename@
  alternatives:

  update-java-alternatives --set java-6-sun


- Set all runtime and development tools to auto mode:

  update-java-alternatives --auto