File: README.alternatives.in.svn-base

package info (click to toggle)
sun-java5 1.5.0-10-3
  • links: PTS
  • area: non-free
  • in suites: etch-m68k
  • size: 92,376 kB
  • ctags: 95
  • sloc: sh: 353,991; makefile: 704
file content (23 lines) | stat: -rw-r--r-- 697 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 java-1.5.0-sun


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

  update-java-alternatives --set java-1.5.0-sun


- Set all runtime and development tools to auto mode:

  update-java-alternatives --auto