I installed it once and installed it for the second time. It took so long to record it .....
1. first install alien2. modify jdk-6u31-linux-i586-rpm.bin permissions 3. the alien-ivck jdk-6u31-linux-i586-rpm.bin then reports an error: 1 dpkg-deb: parse error, in file 'debian/jdk/debian/control' near line 2 package 'jdk ': 2 error in Version string '1. 6.0 _ 31-1 ': invalid character in version number www.2cto.com 3 dh_builddeb: dpkg-deb -- build debian/jdk .. returned exit code 24 make: *** [binary-arch] Error 95 find jdk-1.6.0_31-type d- Exec chmod 755 {}; 6 rm-rf jdk-1.6.0_31 google looks like alien is too old, upgrade to 8.86 or change down, but this error was also reported when 1.6u31 was installed before, it's okay to modify a file. The tragedy is that there is no record. I forgot to change the file. Please record it this time .. (O ^ O ).
Or directly go down the jdk-6u31-linux-i586.bin,
Put it in the specified directory, modify permissions, and execute,
Use update-alternatives -- config java to configure the author doloveme.