It may not be inexplicable. I may have reinstalled Java when installing hadoop, and eclipse won't be able to open it. When opening, an error is reported:
N error has occurred. See the log file/home/solohermex/. Eclipse/org. Eclipse. platform_3.7.0_155965261/configuration/1337069840757. log.
Then I went to the log file. The error is as follows:
! Session 16:25:54. 852 -----------------------------------------------
Eclipse. buildid = I20110613-1736
Java. Version = 1.7.0
Java. Vendor = Oracle Corporation
Bootloader constants: OS = Linux, arch = x86, Ws = GTK, NL = en_us
Command-line arguments:-OS Linux-ws GTK-arch x86
! Entry org. Eclipse. osgi 4 0 16:26:13. 648
! Message application error
! Stack 1
Java. Lang. unsatisfiedlinkerror: cocould not load SWT library. Reasons:
No swt-gtk-3740 in Java. Library. Path
No SWT-GTK in Java. Library. Path
Solution:
32-bit system: ln-S/usr/lib/JNI/libswt -*~ /. SWT/lib/Linux/x86/
64-bit system: ln-S/usr/lib/JNI/libswt -*~ /. SWT/lib/Linux/x86_64/