attempting to bokeyaunrun eclipse useing the jre instead of jdk,to run eclipse using

关于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:

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

时间: 2024-09-28 07:36:10

attempting to bokeyaunrun eclipse useing the jre instead of jdk,to run eclipse using的相关文章

如何查看eclipse使用的jre版本

本次下载的是eclipse-SDK-4.2.1-win32-x86_64.zip,解压后就可以使用了,感到有些奇怪,难道不需要配置jre路径么?搜一搜别人是这么说的: eclipse启动时寻找jre的顺序 1.如果eclipse.ini中配置了-vm参数,那么则使用这个参数指定的JRE; 2.否则就去查看eclipse安装目录下是否有JRE文件夹,如果有的话就使用这个JRE; 3.否则的话就去系统中查找安装的JRE,如果还找不到的话就报错. "vm参数"是在eclipse安装目录下ec

[转]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 work when importing projects or updating source folders.     分两步解决问题: 1. 检查Eclipse正在使用的JRE 'Window' -> 'Preferences' -> 'Java' -> 'Installed JREs' 确

maven 解决 Eclipse is running in a JRE, but a JDK is

  解决安装了maven插件的myeclipse每次开启报错 The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK. Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that In

android jdk环境配置-eclipse安装打开出现错误

问题描述 eclipse安装打开出现错误 安装了jdk然后打开eclipse出现这个界面是怎么回事,求大神解答- 解决方案 界面呢,在哪里??????? 解决方案二: eclipse安装sdk后出现的错误Linux下安装Eclipse出现错误failedLinux下安装Eclipse出现错误failed- 解决方案三: 这是出错的打开界面.求大神解 解决方案四: Jdk安装了没??图看不清啊 解决方案五: 1.图不清楚,只能大概猜一下了 2.可能情况. 2.1 正常安装了jdk,eclipse才

Eclipse,NetBeans及IntelliJ—Java IDE大战之Eclipse篇

Jacek Furmankiewicz是加拿大Compuware公司一位资深的开发者/设计者.他具有12年的专业IT经验,范围涉及UNIX,PowerBuilder,C#/Microsoft .NET,Java,PHP,还有Microsoft SQL Server和Oracle. 一.Eclipse 3.2.2/MyEclipse 5.1.0 GA 供应商 Eclipse基金会 网站 www.eclipse.org 价格 免费(基本发布)/开源     供应商 Genuitec 网站 www.m

Lotus 8.0基于Eclipse平台,IBM的产品线都向Eclipse靠紧了?

引用 IBM 已于上个月正式发布了 Lotus Notes 和 Domino V8 版本!新版本的 Lotus Notes 将基于 Eclipse 平台,增强了用户界面,强化了协作和消息传递功能,并使用最先进的编程结构扩展了应用程序开发模型.   IBM 于 9 月 18 日在北京举办的 --"协作无极限 共享大智慧"-- IBM Lotus Notes/Domino 8 发布会! 没有基于 Lotus 平台开发也好长时间了,想当年在 OA 盛行的时候,Lotus 可谓是占去半壁江山啊

ECLIPSE中配置TOMCAT中的JDK所出现的问题

问题描述 我的ECLIPSE中的TOMCAT可以正常启动,代码可以用RUN执行,不能用DEBUG调试,提示cannotfindafreesocketfordebugger!请问是什么原因?第一次发帖,做的不到位的请指正. 解决方案 解决方案二:我的资源里有本myeclipse教程,介绍的很详细,特别是关于JDK,TOMCAT部署有需要的朋友可以去看看:)解决方案三:关掉防火墙试试解决方案四:在TomcatLaunchMode的Debugmode和Runmode多切换几次在有就是检查一下你的防火墙

Eclipse Memory Analyzer 安装(Update Site: http://download.eclipse.org/mat/1.3.1/update-site/ )

安装 Memory Analyzer 1>下载 http://www.eclipse.org/mat/downloads.php 2>安装 获得堆转储文件 //查看 tomcat  pid     ps -elf|grep tomcat // return 5183 // jmap 位于 java_home/bin/目录 jmap -dump:format=b,file=heap.bin   5183 查看heap.bin文件 Eclise --> Eclipse==>Open F

搭建Eclipse+MyEclipse开发环境_JSP编程

一.安装JDK首先下载JDK 5.0(JDK 5.0的下载页面为:jsp" target="_blank">http://java.sun.com/j2se/1.5.0/download.jsp):然后运行JDK 5.0安装程序jdk-1_5_0_06-windows-i586-p.exe,安装过程中所有选项保持默认:最后配置JDK的环境变量:在"我的电脑"上点右键->"属性"->"高级"->