Attempting to Bokeyaunrun Eclipse useing the JRE instead of Jdk,to run eclipse using

Source: Internet
Author: User
Tags install new relic

About Eclipse Run appears, attempting to bokeyaunrun Eclipse useing the JRE instead of Jdk,to run eclipse using error solution "

Incorrect path to your JDK

When you install the Java jdk from Oracle (1.6 or 1.7), by default, it installs both the JDK and the JRE. If It installs the JRE, Eclipse would point to Javaw.exe in C:\Windows\System32, which are where Oracle installs it by Defau Lt. Some Android apps would build with this setup, but New Relic Mobile requires libraries that is only in the JDK.

The best-of-the-the-to-fix this:

    1. Create a shortcut to your eclipse.exe.
    2. Right-click on the shortcut and select Properties.
    3. In the Target area, add to the -vm "Path\to\jdk\bin" end of Eclipse.exe (with a space after Eclipse.exe), where Path is where you R JDK is installed. For example, if you had JDK 1.6.0_45 installed in the default directory, add
      -vm "C:\Program Files\Java\jdk1.6.0_45\bin".
    4. Select OK, and launch Eclipse.
Running Eclipse with-vm argument:Example of THE-VM argument for the default installation of JDK 1.6.0_45. ADT errors

After the upgrading to ADT, the "Java.lang.NoClassDefFoundError" when attempting to run your project. This was because sometimes, when upgrading to ADT, the new Android Private Libraries was not checked in the Order and Export of your Java Build Path.

To fix this:

    1. In Eclipse, select your project.
    2. Select File > Properties.
    3. Select Java Build Path > Order and Export.
    4. Check the box for Android Private Libraries, and select OK.
    5. Clean your project by selecting Project >clean.
Add Android Private Libraries to Order and Export:In your project properties, under Java Build Path > Order and Export, check the box for Android Private libraries.for m Ore help

Additional documentation resources include:

    • Installing Android Apps with Eclipse (standard installation, configuration, and upgrade procedures to install your Android App with Eclipse)
    • Customizing your mobile app settings (Settings tab options to view your mobile app s application token, rename it , or install New Relic Mobile Updates)

If you need additional help, get support at support.newrelic.com .

Attempting to Bokeyaunrun Eclipse useing the JRE instead of Jdk,to run eclipse using

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.