简体   繁体   English

不存在Java运行时,要求安装

[英]No Java runtime present, requesting install

I have java JDK installed sucessfully in my mac os 10.9 .. 我在Mac OS 10.9中成功安装了Java JDK。

$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

But when i try to run eclipse it asks me to jave SE 6 Runtime again !!! 但是,当我尝试运行Eclipse时,它要求我再次运行SE 6 Runtime!

忙碌的猫

It looks like eclipse is unable to locate the installed java. 看来eclipse无法找到已安装的Java。 You can tell eclipse to point to this version of java by modifying eclipse.ini file 您可以通过修改eclipse.ini文件来告诉eclipse指向此版本的Java。

In eclipse.ini file, we need to add -vm option to point to the java8 location: See: http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Mac_OS_X_Example 在eclipse.ini文件中,我们需要添加-vm选项以指向java8位置:请参见: http ://wiki.eclipse.org/Eclipse.ini#-vm_value:_Mac_OS_X_Example

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Unity - 不存在请求安装的 Java 运行时 - Unity - no java runtime present requesting install 已安装 JDK 14.0.1 并且“没有 Java 运行时存在,请求安装” - JDK 14.0.1 installed and “No Java runtime present, requesting install” pyimagej setup + conda:不存在Java运行时,要求安装 - pyimagej setup + conda: No Java runtime present, requesting install 即使在我的 MAC 上安装了 JRE 8 - “No Java Runtime present,requesting to install”会显示在终端中 - Even though JRE 8 is installed on my MAC -" No Java Runtime present,requesting to install " gets displayed in terminal Mavericks OS X上的几个应用程序要求安装Java 6 SE运行时,但已经具有Java 7 - Several applications on Mavericks OS X requesting install Java 6 SE runtime, but already have Java 7 当 java 类存在时,运行时出现 ClassNotFoundException - ClassNotFoundException at Runtime when java class is present 无法在Mac上安装Java Runtime(6) - Unable to install Java Runtime (6) on Mac 请求运行时权限 - Requesting runtime permission 如何从Java Runtime安装.pkg? - How to install a .pkg from Java Runtime? 请求运行时权限导致崩溃 - Requesting Runtime Permissions Causes Crash
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM