home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120521.etc.tar.gz / bradford.20120521.etc.tar / etc / java / README
Text File  |  2004-05-10  |  7KB  |  178 lines

  1. Dear customer,
  2.  
  3. The SuSE Linux distribution contains several versions of development
  4. kits for developing and running java applications and several versions 
  5. of runtime environments only for running java applications.
  6.  
  7. To be able to run java applications which need different versions of
  8. runtime environment or development kit, you may install several
  9. versions at the same time. One of these development kits or runtime
  10. environments is always the default while the other versions can be used
  11. to develop or run particular applications.
  12.  
  13. Note: In the next text JDK stands for java development kit and JRE for
  14.       java runtime environment.
  15.  
  16.  
  17.  
  18. The directory /etc/java contains configuration files for all installed
  19. JDKs and JREs.
  20.  
  21. These configuration files are used by SuSEconfig and  setDefaultJava
  22. scripts which will help you to set default JDK or JRE on your computer.
  23.  
  24. They are also used by script setJava which will help you to use one of
  25. valid versions of JDKs or JREs with your application.
  26.  
  27.  
  28. Syntax of configuration files:
  29. ------------------------------
  30. 1. empty lines are ignored
  31. 2. white characters are ignored (spaces, TABs)
  32. 3. comments are ignored, they are prefixed by hash '#'
  33. 4. Parameters and values are delimited by ':' or '='
  34.  
  35. Available parameters in config files (see the example config file below):
  36. --------------------------------------------------------------------
  37.  
  38. Priority:
  39.     - value is an integer
  40.     - the JDK or JRE with higher priority is selected when there are more
  41.       JDKs or JREs acceptable for given parameters in the scripts setJava and
  42.       setDefaultJava
  43.     - a lower value defines higher priority
  44.     
  45. Vendor:
  46.     - value is a string (spaces are allowed)
  47.     - defines java vendor name
  48.     
  49. Version:
  50.     - value is composed of integers delimited by dots
  51.     - defines JDK or JRE version
  52.     
  53. Devel:
  54.     - value is either "True" or "False"
  55.     - value "True" defines that this java is JDK
  56.         
  57. JAVA_BINDIR:
  58.     - value is a path to a directory
  59.     - defines the path to java executables
  60.     - will be used for PATH and JAVA_BINDIR environment variables
  61.       
  62. JAVA_ROOT:
  63.     - value is a path to a directory
  64.     - defines the path to the java root directory
  65.     - is exactly the same for the JDK and the JRE of the same version
  66.       and vendor
  67.     - will be used for JAVA_ROOTDIR environment variable
  68.  
  69. JAVA_HOME:
  70.     - value is path to directory
  71.     - some applications use this value to find java executables
  72.       in $JAVA_HOME/bin
  73.     - the value is usually different for JDK and JRE of the same version
  74.       and vendor
  75.     - will be used for JAVA_HOME environment variable
  76.       
  77. JRE_HOME:
  78.     - value is a path to a directory
  79.     - some applications use this value to search for java executables and
  80.       libraries in $JAVA_JRE/bin and $JAVA_JRE/lib
  81.     - the value is the same for the JDK and the JRE of the same version
  82.       and vendor
  83.     - will be used for JRE_HOME environment variable
  84.  
  85. JDK_HOME:
  86.     - value is a path to a directory
  87.     - it is added as supplement to JRE_HOME
  88.     - it is defined for all JDKs
  89.     - will be used for JDK_HOME environment variable
  90.  
  91. SDK_HOME:
  92.     - value is a path to a directory
  93.     - it is added as supplement to JRE_HOME
  94.     - it is defined for JDKs with version 1.2 and higher
  95.     - will be used for SDK_HOME environment variable
  96.  
  97. JAVA_LINK:
  98.     - value is a absolute or relative path to a directory
  99.     - it is used by script setDefaultJava and SuSEconfig,
  100.     - the link /usr/lib/java and other compatibility links will point
  101.       to this directory name or to this path
  102.  
  103. alternative:
  104.     - first value defines target; relative or absolute path to a vendor and/or
  105.       version specific file
  106.     - second value defines link name; absolute path of a symbolic link
  107.       which is common for more alternatives
  108.     - it defines a common symbolic link for alternative files from different
  109.       JREs/SDKs
  110.     - the script setDefaultJava is able to update the links for a selected
  111.       java
  112.     
  113. more_alternatives:
  114.     - value is the name of another java configuration file
  115.     - it points to a configuration file which contains more alternative links
  116.       which should be set together with this java
  117.     - it is often used in the config files for SDKs which use some sources
  118.       from the related JREs
  119.       
  120.       
  121. Example:
  122. # this is configutation file for SDK from Sun Microsystems, version 1.4.2
  123. # it is installed in /usr/lib/SunJava2-1.4
  124.  
  125. Priority: 30
  126.  
  127. Vendor  :  Sun
  128. Version :  1.4.2
  129. Devel   :  True
  130.  
  131. JAVA_BINDIR = /usr/lib/SunJava2-1.4/bin
  132. JAVA_ROOT   = /usr/lib/SunJava2-1.4
  133. JAVA_HOME   = /usr/lib/SunJava2-1.4
  134. JRE_HOME    = /usr/lib/SunJava2-1.4/jre
  135. JDK_HOME    = /usr/lib/SunJava2-1.4
  136. SDK_HOME    = /usr/lib/SunJava2-1.4
  137.  
  138. JAVA_LINK   = SunJava2-1.4
  139.  
  140.  
  141. # alternatives
  142. #
  143. # man pages
  144. alternative: appletviewer-SunJava2.1.gz    /usr/share/man/man1/appletviewer.1.gz
  145. alternative: extcheck-SunJava2.1.gz        /usr/share/man/man1/extcheck.1.gz
  146. alternative: idlj-SunJava2.1.gz        /usr/share/man/man1/idlj.1.gz
  147. alternative: jar-SunJava2.1.gz        /usr/share/man/man1/jar.1.gz
  148. alternative: jarsigner-SunJava2.1.gz    /usr/share/man/man1/jarsigner.1.gz
  149. alternative: javac-SunJava2.1.gz    /usr/share/man/man1/javac.1.gz
  150. alternative: javadoc-SunJava2.1.gz    /usr/share/man/man1/javadoc.1.gz
  151. alternative: javah-SunJava2.1.gz    /usr/share/man/man1/javah.1.gz
  152. alternative: javap-SunJava2.1.gz    /usr/share/man/man1/javap.1.gz
  153. alternative: jdb-SunJava2.1.gz        /usr/share/man/man1/jdb.1.gz
  154. alternative: native2ascii-SunJava2.1.gz    /usr/share/man/man1/native2ascii.1.gz
  155. alternative: rmic-SunJava2.1.gz        /usr/share/man/man1/rmic.1.gz
  156. alternative: serialver-SunJava2.1.gz    /usr/share/man/man1/serialver.1.gz
  157. #
  158. # japanese man pages
  159. alternative: appletviewer-SunJava2.1.gz    /usr/share/man/ja/man1/appletviewer.1.gz
  160. alternative: extcheck-SunJava2.1.gz        /usr/share/man/ja/man1/extcheck.1.gz
  161. alternative: idlj-SunJava2.1.gz        /usr/share/man/ja/man1/idlj.1.gz
  162. alternative: jar-SunJava2.1.gz        /usr/share/man/ja/man1/jar.1.gz
  163. alternative: jarsigner-SunJava2.1.gz    /usr/share/man/ja/man1/jarsigner.1.gz
  164. alternative: javac-SunJava2.1.gz    /usr/share/man/ja/man1/javac.1.gz
  165. alternative: javadoc-SunJava2.1.gz    /usr/share/man/ja/man1/javadoc.1.gz
  166. alternative: javah-SunJava2.1.gz    /usr/share/man/ja/man1/javah.1.gz
  167. alternative: javap-SunJava2.1.gz    /usr/share/man/ja/man1/javap.1.gz
  168. alternative: jdb-SunJava2.1.gz        /usr/share/man/ja/man1/jdb.1.gz
  169. alternative: native2ascii-SunJava2.1.gz    /usr/share/man/ja/man1/native2ascii.1.gz
  170. alternative: rmic-SunJava2.1.gz        /usr/share/man/ja/man1/rmic.1.gz
  171. alternative: serialver-SunJava2.1.gz    /usr/share/man/ja/man1/serialver.1.gz
  172. #
  173. more_alternatives:    java2-jre
  174.  
  175.  
  176. Have a lot of fun,
  177.  
  178.                 Your SuSE team