I m trying to use e(fx)clipse with java8 and eclipse Luna on my mac (yosemite).
我尝试使用e(fx)clipse与java8和eclipse Luna在我的mac上(约塞米蒂)。
In a terminal : java -version gives me
在终端:java -版本给了我。
java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
java版本“1.8.0_25”java (TM) SE运行时环境(构建1.8.0_25-b17) java HotSpot(TM) 64位服务器VM(构建25.25-b02,混合模式)
In my eclipse.ini I m putting :
在我的eclipse。I m put:
-vm /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
vm /图书馆/互联网插件/ JavaAppletPlugin.plugin /内容/ Home / bin / java
which points to my java8 folder. In eclipse I ve set up the java8 jre.
这指向我的java8文件夹。在eclipse中,我设置了java8 jre。
But when I open eclipse I m still getting :
但是当我打开eclipse时,我仍然得到:
You are not running your eclipse instance with Java8 ....
你没有运行你的eclipse实例Java8 ....
I can't get where I am wrong. Any clue?
我找不到我错的地方。有线索吗?
Thanks.
谢谢。
1 个解决方案
#1
0
I had faced similar issue when I had installed JavaFX eclipse plugin in a 32bit eclipse (Luna). It seems, though you have 64bit OS and 64bit JRE/JDK, and you have setup Environment Variables, you will need 64bit Eclipse to run JavaFX under Eclipse.
当我在32位eclipse (Luna)中安装JavaFX eclipse插件时,我遇到了类似的问题。看起来,虽然您有64位操作系统和64位JRE/JDK,但是您已经设置了环境变量,您需要64位Eclipse来运行Eclipse下的JavaFX。
Hence, make sure you have 64bit Eclipse running on your machine. If it is a 32bit machine, then there won't be any problem as neither we could install 64bit JDK or 64bit Eclipse.
因此,确保在机器上运行64位Eclipse。如果它是一个32位的机器,那么就不会有任何问题,因为我们不能安装64位JDK或64位Eclipse。
I hope this solves the problem.
我希望这能解决问题。
Thanks
谢谢
#1
0
I had faced similar issue when I had installed JavaFX eclipse plugin in a 32bit eclipse (Luna). It seems, though you have 64bit OS and 64bit JRE/JDK, and you have setup Environment Variables, you will need 64bit Eclipse to run JavaFX under Eclipse.
当我在32位eclipse (Luna)中安装JavaFX eclipse插件时,我遇到了类似的问题。看起来,虽然您有64位操作系统和64位JRE/JDK,但是您已经设置了环境变量,您需要64位Eclipse来运行Eclipse下的JavaFX。
Hence, make sure you have 64bit Eclipse running on your machine. If it is a 32bit machine, then there won't be any problem as neither we could install 64bit JDK or 64bit Eclipse.
因此,确保在机器上运行64位Eclipse。如果它是一个32位的机器,那么就不会有任何问题,因为我们不能安装64位JDK或64位Eclipse。
I hope this solves the problem.
我希望这能解决问题。
Thanks
谢谢