关于eclipse运行出现,attempting to bokeyaunrun eclipse useing the jre instead of jdk,to run eclipse using错误的解决方案“

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 will point to javaw.exe in C:\Windows\System32, which is where Oracle installs it by default. Some Android apps will build with this setup, but New Relic Mobile requires libraries that are only in the JDK.

Here is the best way 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 -vm "Path\to\jdk\bin" to the end of eclipse.exe (with a space after eclipse.exe), where Path is where your JDK is installed. For example, if you have 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: Here is an example of the -vm argument for the default installation of JDK 1.6.0_45.

ADT 22 errors

After upgrading to ADT 22, you may see "java.lang.NoClassDefFoundError" when attempting to run your project. This is because sometimes, when upgrading to ADT 22, the new Android Private Libraries is 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 more 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相关推荐

  1. 修改eclipse启动时eclipse使用的jre

    eclipse在启动的时候,和环境变量中的jdk不兼容,可以单独制定eclipse运行的jre. 方法: 在eclipse的配置文件里增加-vm参数即可. 打开eclipse目录下的eclipse.i ...

  2. Eclipse is running in a JRE, but a JDK is required错误的解决

    http://ttldxl.iteye.com/blog/1025107 (方法一)原址:http://xucons.javaeye.com/blog/475204 Eclipse安装了Maven插件 ...

  3. Eclipse is running in a JRE, but a JDK is required 解决方法(转)

    转自:http://comeonbabye.iteye.com/blog/1186239 安装Maven后每次启动出现警告信息: Eclipse is running in a JRE, but a ...

  4. Eclipse is running in a JRE, but a JDK is required

    安装Maven后每次启动出现警告信息:     Eclipse is running in a JRE, but a JDK is required.     Some Maven plugins m ...

  5. Eclipse添加maven之后报错 Eclipse is running in a JRE, but a JDK is required 解决方法

    安装Maven后每次启动出现警告信息: Eclipse is running in a JRE, but a JDK is required Some Maven plugins may not wo ...

  6. 查看eclipse使用的jre版本

    本次下载的是eclipse-SDK-4.2.1-win32-x86_64.zip,解压后就可以使用了,感到有些奇怪,难道不需要配置jre路径么?搜一搜别人是这么说的: eclipse启动时寻找jre的 ...

  7. eclipse android或者Java应用查看jdk路径和版本与android studio查看jdk版本

    elipse IDE环境下jdk配置: eclipse -.> window ->preferences ->java -> Installed JRES 对于android工 ...

  8. Cannot run Eclipse; JVM terminated. Exit code=13

    在myeclipse 上运行好好的, 在 eclipse 上就运行不了了. 运行eclipse.exe 就出现: Cannot run Eclipse; JVM terminated. Exit co ...

  9. linux eclipse报错日志,centos6.8命令行启动eclipse报org.eclipse.swt.SWTError错误

    系统版本:centos6.8 JDK 版本:jdk1.8.0_111 eclipse版本:eclipse neon.1 问题描述: [1]在xwindow界面可以正常启动eclipse [2]在命令行 ...

最新文章

  1. PHP5.4新特性(转)
  2. codeforces 101466E Text Editor(hash)
  3. JavaWeb学习总结(三)——Tomcat服务器学习和使用(二)
  4. 如何基于asp.net core的Identity框架在mysql上作身份验证处理
  5. android flux 与mvp,使用 MVP 时在设计上的考量
  6. eclipse安卓工程的构建、配置连接模拟器、安卓工程结构介绍
  7. jdbc 执行oracle命令,JDBC操作oracle
  8. ajax传值controller怎么写,关于ajax请求Controller传值问题详细记录
  9. [USACO DEC13] 名称记录
  10. python3 -m pip install pymongo_Python3上Pymongo的SSL握手问题
  11. 软件开发技术文档标准格式
  12. vmware 安装 mac os 修改序列号
  13. 在上海创业的日子之了解银行企业对公基础账户收费情况
  14. w7计算机开机密码怎么设置,如何设置电脑开机密码,图文教你怎么设置开机密码(winxp/win7)...
  15. 微分方程和线性代数(分离变量法开始)
  16. VScode无法只按住鼠标左键选取多行
  17. mezzanine安装和使用
  18. java程序员拜年代码_作为一个资深的程序员我们应该这么拜年
  19. python实现DBSCAN聚类
  20. 李沐【实用机器学习】1.3网页数据抓取

热门文章

  1. 框架 - SpringMVC框架
  2. (B站必备)使用BiliBiliTool,全自动完成B 站任务神器!!!
  3. 纯CSS实现图片列表悬停放大效果的方法
  4. 区块链供应链金融有着怎样的意义?
  5. 高手必备 | Revit插件到底哪个好?区别是什么?
  6. 2021:Check it again:Progressive Visual Question Answering via Visual Entailment通过视觉暗示进行渐进式视觉问答
  7. 电子元器件B2B商城系统授信大额支付,精细化B2B平台管理
  8. 经济观察评论:现在是筑底时期, 对复苏仍可以保持乐观!]
  9. 微信小程序开发之——用户登录-搭建开发者服务器(2)
  10. C++全角与半角互转