Version 1.6.0_13 of the JVM is not suitable for this product. version:1.7 or greater is required. [Solved]

Source: Internet
Author: User

[OS] Kali

When I use eclipse for Luna, I got the message as below:
Version 1.6.0_13 of the JVM is not suitable for this product. version:1.7 or greater is required.

Solve it as below:
Step_1:unpack Eclipse

$ tar zxvf eclipse-standard-luna-r. tar. gz

Step_2:go into the Eclipse directory

$ CD Eclipse

Step_3:delete it ' s JRE directory

$ rm -RF jre/

Step_4:run the Eclipse

./eclipse

It starts, then the bug has been fixed.

We'll configure further for easily use. Steps as below.

Step_1:move the eclipse to our pointed directory and the privilege.

sudo mv eclipse/opt//optsudochown -R root:root eclipsesudo  chmod -R +r Eclipsesudochmod +x 'sudofind Eclipse -type d '

Step_6:then Create an eclipse executable in my path

sudo Touch /usr/bin/eclipsesudochmod755 /usr/bin/Eclipse  sudo nano/usr/bin/eclipse

With this contents

#!/bin/shexport eclipse_home="/opt/eclipse"$ECLIPSE _ HOME/eclipse $*

Step_7:then Create a Gnome menu item

sudo nano/usr/share/applications/eclipse.desktop

With this contents

[Desktop Entry] Encoding=utf-8Name=eclipsecomment=Eclipse ideexec=Eclipseicon=  /opt/eclipse/icon.xpmterminal=Falsetype=applicationcategories=gnome; application;development; Startupnotify=true

Step_8:configure
You are now having a working eclipse. But run this command first to initialise the set up.

/opt/eclipse/eclipse-clean

Then from here on you can run from the menu item applications/programming/eclipse

Version 1.6.0_13 of the JVM is not suitable for this product. version:1.7 or greater is required. [Solved]

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.