How to replace Java files in a Linux environment

Source: Internet
Author: User

In the Linux system environment, there are a lot of commands that we need to learn. The replacement of Java-related questions requires us to learn in detail. Next, let's take a look at the relevant editing code about Java in the Linux system environment.

Replace the $ JRE/lib/font. properties file with the following content.

 
 
  1. # @(#)font.properties.zh.Turbo.Linux 1.4 02/06/10   
  2. #   
  3. # Copyright 2002 Sun Microsystems, Inc. All rights reserved.   
  4. #   
  5. # Component Font Mappings   
  6. #   
  7. serif.0=-b&h-lUCidabright-medium-r-normal--*-%d-*-*-
    p-*-iso8859-1   
  8. serif.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  9. serif.italic.0=-b&h-lucidabright-medium-i-normal--*-
    %d-*-*-p-*-iso8859-1   
  10. serif.italic.1=-misc-SimSun-medium-r-normal--*-%d-
    *-*-c-*-gbk-0   
  11. serif.bold.0=-b&h-lucidabright-demibold-r-normal--*-%d-
    *-*-p-*-iso8859-1   
  12. serif.bold.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-
    *-gbk-0   
  13. serif.bolditalic.0=-b&h-lucidabright-demibold-i-normal
    --*-%d-*-*-p-*-iso8859-1   
  14. serif.bolditalic.1=-misc-SimSun-medium-r-normal--*-%d
    -*-*-c-*-gbk-0   
  15. sansserif.0=-b&h-lucidasans-medium-r-normal-sans-*-%d
    -*-*-p-*-iso8859-1   
  16. sansserif.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*
    -gbk-0   
  17. sansserif.italic.0=-b&h-lucidasans-medium-i-normal-sans
    -*-%d-*-*-p-*-iso8859-1   
  18. sansserif.italic.1=-misc-SimSun-medium-r-normal--*-%d-*-
    *-c-*-gbk-0   
  19. sansserif.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d
    -*-*-p-*-iso8859-1   
  20. sansserif.bold.1=-misc-SimSun-medium-r-normal--*-%d-*-*-
    c-*-gbk-0   
  21. sansserif.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans
    -*-%d-*-*-p-*-iso8859-1   
  22. sansserif.bolditalic.1=-misc-SimSun-medium-r-normal--*-%d
    -*-*-c-*-gbk-0   
  23. monospaced.0=-b&h-lucidatypewriter-medium-r-normal-sans-*
    -%d-*-*-m-*-iso8859-1   
  24. monospaced.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  25. monospaced.italic.0=-b&h-lucidatypewriter-medium-r-normal
    -sans-*-%d-*-*-m-*-iso8859-1   
  26. monospaced.italic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-
    c-*-gbk-0   
  27. monospaced.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*
    -%d-*-*-m-*-iso8859-1   
  28. monospaced.bold.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  29. monospaced.bolditalic.0=-b&h-lucidatypewriter-bold-r-normal
    -sans-*-%d-*-*-m-*-iso8859-1   
  30. monospaced.bolditalic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  31. dialog.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*
    -iso8859-1   
  32. dialog.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  33. dialog.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-
    *-p-*-iso8859-1   
  34. dialog.italic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  35. dialog.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1   
  36. dialog.bold.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  37. dialog.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1   
  38. dialog.bolditalic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  39. dialoginput.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1   
  40. dialoginput.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  41. dialoginput.italic.0=-b&h-lucidatypewriter-medium-r-normal-sans
    -*-%d-*-*-m-*-iso8859-1   
  42. dialoginput.italic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  43. dialoginput.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*
    -%d-*-*-m-*-iso8859-1   
  44. dialoginput.bold.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  45. dialoginput.bolditalic.0=-b&h-lucidatypewriter-bold-r-normal
    -sans-*-%d-*-*-m-*-iso8859-1   
  46. dialoginput.bolditalic.1=-misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  47. # Missing Glyph Character   
  48. #   
  49. default.char=274f   
  50. # Component Font Character Encodings   
  51. #   
  52. fontcharset.serif.0=sun.io.CharToByteISO8859_1   
  53. fontcharset.serif.1=sun.awt.motif.CharToByteX11GBK   
  54. fontcharset.sansserif.0=sun.io.CharToByteISO8859_1   
  55. fontcharset.sansserif.1=sun.awt.motif.CharToByteX11GBK   
  56. fontcharset.monospaced.0=sun.io.CharToByteISO8859_1 
  57. fontcharset.monospaced.1=sun.awt.motif.CharToByteX11GBK   
  58. fontcharset.dialog.0=sun.io.CharToByteISO8859_1   
  59. fontcharset.dialog.1=sun.awt.motif.CharToByteX11GBK   
  60. fontcharset.dialoginput.0=sun.io.CharToByteISO8859_1   
  61. fontcharset.dialoginput.1=sun.awt.motif.CharToByteX11GBK   
  62. # Exclusion Ranges   
  63. #   
  64. # XFontSet Information   
  65. #   
  66. fontset.serif.plain=\   
  67. -b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\   
  68. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  69. fontset.serif.italic=\   
  70. -b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\   
  71. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  72. fontset.serif.bold=\   
  73. -b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1,\   
  74. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  75. fontset.serif.bolditalic=\   
  76. -b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1,\   
  77. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  78. fontset.sansserif.plain=\   
  79. -b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  80. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  81. fontset.sansserif.italic=\   
  82. -b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  83. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  84. fontset.sansserif.bold=\   
  85. -b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  86. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  87. fontset.sansserif.bolditalic=\   
  88. -b&h-lucida-bold-i-normal-snas-*-%d-*-*-p-*-iso8859-1,\   
  89. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  90. fontset.monospaced.plain=\   
  91. -b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  92. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  93. fontset.monospaced.italic=\   
  94. -b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\    
  95. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  96. fontset.monospaced.bold=\   
  97. -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-,1\   
  98. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  99. fontset.monospaced.bolditalic=\   
  100. -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  101. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  102. fontset.dialog.italic=\   
  103. -b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  104. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  105. fontset.dialog.bold=\   
  106. -b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  107. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  108. fontset.dialog.bolditalic=\   
  109. -b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  110. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  111. fontset.dialog.plain=\   
  112. -b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\  
  113. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  114. fontset.dialoginput.italic=\   
  115. -b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  116. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  117. fontset.dialoginput.bold=\   
  118. -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  119. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  120. fontset.dialoginput.bolditalic=\   
  121. -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  122. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  123.  
  124. fontset.dialoginput.plain=\   
  125. -b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\   
  126. -misc-SimSun-medium-r-normal--*-%d-*-*-c-*-gbk-0   
  127.  
  128. fontset.default=\   
  129. -b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\   
  130. -misc-SimSun-medium-r-normal-  

The above section describes how to write Java in the Linux system environment.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.