[1] solve the problem of Chinese Character Input Method
Open the terminal sudo apt-Get install scim-pinyin
Sudoim-switch-s scim-Z all_all # Because I use English local, set scim to the default input method of all locale
Im-switch-s scim-Z all_all # Note: Do not add sudo and then restart the system to take effect.
[2] menu of the Chinese system
1. Open "system" at the top of the screen, which contains "Administration" (System Management), select "snaptic Package Manager" (Package Manager), and open, enter the password and go to the Software Package Manager. Find the language-package-gnome-ZH and language-package-ZH-base, right-click the package, and choose "mark for installtion" from the shortcut menu ), click Apply in the upper-left corner. Then, the system starts to automatically download some related files. After the download is completed, the system will disable it.
2. Choose system> Administration> language support. In the above language support box, select Chinese ", download the relevant files again. After the installation is completed, select Chinese in "default language" below. Log out and then log on to the system again.
(After the Chinese is finished, the Chinese text always shows gray. You need to drag it to make it show)
[3] install vmtools
1. Copy the .tar.gz file to the desktop, right-click the menu, and decompress it here. It is automatically decompressed into a vmware-tools-distrib directory.
Open the terminal (System Application menu-accessories-Terminal)
2. Execute the following command in the terminal:
$ CD desktop (for Chinese users, it is $ CD desktop)
$ Cdvmware-tools-distrib
$ Sudo./vmware-install.pl
3. After you press enter, you will be prompted to enter the administrator password and then press enter all the way. (This is equivalent to the many dialog boxes filled in when installing software in windows. Here we use the default settings ), after "enjoy -- the VMware team" is displayed, the vmwaretools installation is complete.
[4] JDK is successfully installed.
1. jdk1.6 installation preparation
Download the Linux JDK from the sun website www.sun.com. the version I downloaded is JDK 6 update 7,
Address http://java.sun.com/javase/downloads/index.jsp
Jdk-6u7-linux-i586.bin, open the terminal, run the CD command to enter the JDK directory, execute the Copy command
Sudocp jdk-6u7-linux-i586.bin/usr
Copy the JDK to the/usr directory and enter the/usr directory CD/usr.
Execution permission
Chmod + x jdk-6u7-linux-i586.bin
Run the installation command
/Jdk-6u7-linux-i586.bin
In case of an error, switch to the root user, Su root, and then run the installation command.
After successful installation, the jdk1.6.0 _ 07 directory is generated under the/usr Directory, which is the JDK installation directory.
Restart your computer, open the terminal, and enter Java-version
If the Java version information is displayed, the installation is successful,
2. Configuration after jdk1.6 Installation
After successful installation, You need to configure JDK Environment Variables
Run the CD command to enter the/etc directory sudo VI profile and run the Edit profile file command.
Add the following content before umas k022:
Export java_home =/usr/jdk1.6.0 _ 07
Export jre_home =/usr/jdk1.6.0 _ 07/JRE
Export Path = $ path:/usr/jdk1.6.0 _ 07/bin
Export classpath =./:/usr/jdk1.6.0 _ 07/lib:/usr/jdk1.6.0 _ 07/JRE/lib
Save and quit, restart your computer
3. Tests after jdk1.6 is installed and configured
Create test. Java
Public class test {
Public static void main (string [] ARGs ){
System. Out. println ("Hello, welcome to Linux World! ");
}
}
Run the CD command on the terminal to enter the test. Java directory, and then enter
Javac test. Java
Java Test
If the output
Hello, welcome to Linux World!
The configuration is successful!
If compilation fails, restart the system.
4. Precautions for jdk1.6 installation and configuration
Linux beginners may not be familiar with using the VI command to edit the profile file
If the sudo VI profile appears after the file is edited
Press ENTER or type command to continue
Press enter and press the arrow key "down" until the line before umas k022
Press the letter O to enter the editing status
Input environment variable content
Press enter and press the ESC key several times until you hear "beep". Enter
Then press Enter.
Save and exit
So far, the configuration of Linux jdk1.6 environment variables is complete, isn't it easy? Start your programming path.
Sh install-SH
Make install