home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / openjdk-6-jre-headless / README.alternatives < prev    next >
Encoding:
Text File  |  2012-06-29  |  846 b   |  27 lines

  1.  
  2. Packages providing a runtime or a development environment for the Java
  3. language all use symlinks in the /etc/alternatives directory to enable
  4. the system administrator to choose which programs to use for java,
  5. javac, javah, etc.
  6.  
  7. Starting with java-common 0.23ubuntu1, the update-java-alternatives
  8. script can be used to set a bunch of jre/jdk alternatives:
  9.  
  10. - Set all runtime tools to point to the openjdk-6 alternatives:
  11.  
  12.   update-java-alternatives --jre --set java-6-openjdk
  13.  
  14. - Set all runtime tools (headless only) to point to the openjdk-6
  15.   alternatives:
  16.  
  17.   update-java-alternatives --jre-headless --set java-6-openjdk
  18.  
  19. - Set all runtime and development tools to point to the openjdk-6
  20.   alternatives:
  21.  
  22.   update-java-alternatives --set java-6-openjdk
  23.  
  24. - Set all runtime and development tools to auto mode:
  25.  
  26.   update-java-alternatives --auto
  27.