A series of issues related to Kali Linux installation eclipse

Source: Internet
Author: User
Tags kali linux

  1. The first step is to download the JDK, and eclipse I will not be in the detail/official website of the download. (Remember to download the corresponding version of your own!)

  2. There's a problem with Kali Linux, and it's a problem that has been bothering everyone--kali Linux comes with Java, but the JDK version is 1.6. And eclipse requires JDK version 1.8 or more. Many people will not uninstall Jdk1.6,eclipse but the default is 1.6. How to modify it? I also tried the various methods on the site, and finally the most basic way to solve. Configure environment variables, default configuration to 1.8 OK.

    How to do it specifically:

    sudo nano/etc/profile

    In the end, add:

    Java_home=/opt/jdk1.8.0_60
    Path= $JAVA _home/bin: $PATH
    Classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
    Export Java_home
    Export PATH
    Export CLASSPATH

    Remember the first java_home is the path of your JDK, don't copy my Oh, otherwise it is useless. The following two paths can be copied with no problem.

    Some people on the Internet are giving this paragraph:

    #export jdk_home=/opt/jdk1.8.0_60
    #export jre_home= $JAVA _home/jre
    #export path= $JAVA _home/bin: $JRE _home/bin: $PATH

  3. When everything on top of you is done, you'll find that it's not going to work.

    Problematic frame:
    # C [libgdk-x11-2.0.so.0+0x5173f] gdk_display_open+0x3f
    #
    # Core dump written. Default location:/opt/eclipse/core or core.11840
    #
    # A error report file with more information is saved as:
    #/opt/eclipse/hs_err_pid11840.log
    #
    # If you would as to submit a bug report, please visit:
    # http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual machine in native code.
    # See problematic frame for where to report the bug.

    If this problem arises, do not panic. You only need to open Ecilpse.ini in the Eclipse directory, and
    Add on top of--launcher.appendvmargs
    --launcher. Gtk_version
    2
    If the same as mine should be in 15, 16 line this way. Okay, well, I've finally installed it.

    is to let me this small white to try for a long time.

    Well, it's really that simple, but I spent a whole two days trying all sorts of ways. Finally, this is the most basic method. What a smelly man.


Jiangsu Nanjing Zhongzhiyuan 904727147







A series of issues related to Kali Linux installation eclipse

Related Article

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.