[happy@localhost ~]$ eclipse
Unrecognized VM option ‘UseStringDeduplication’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
A:
Because JDK version is old one (1.7.0). So need to change JDK to 1.8.0. When execute eclipse will understand what is option ‘UseStringDeduplication’.
[happy@localhost ~]$ java -version
java version “1.7.0_111”
OpenJDK Runtime Environment (IcedTea 2.6.7) (Arch Linux build 7.u111_2.6.7-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
Download JDK 1.8.0
After download it. Please decompress it. And set the PATH to it binary folder.
export PATH=/home/happy/APP/jdk1.8.0_121/bin/:$PATH
Reference:
0 意見:
張貼留言