I'm running OSX Yosemite, and I just downloaded latest adt bundle and my java version is
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)
,at the first when I tried to open eclipse , he asks me to install Java 6 http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
, but after the installtion it gives me this message "The application Ecliplise can't opened"
Please tell me what to do, Thanks
Related
I have a macbook with latest HighSierra installed and from System Preferences / Java Panel. It says that i have got latest Java version installed: java 8 update 181.
From the "Java" tab of the aforementioned "Java settings" dialog i can see that the version 181 it is referring to is installed in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
If i try to execute that binary (i.e. java -version) i actually get:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build
1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
however when i try to launch "java" from a generic prompt or if i try to execute javac i get a different result:
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
this latter java is installed in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/
So it seems to me that i have got a jre (181) and a jdk (40) is this correct?
if so, is this the correct setup on mac? i started to wonder when forticlient analyzer showed up a bunch of CVE security issues related to JDK that are fixed in update 181.
I am trying to open DDMS from tools folder in android sdk (monitor), but it just show blank view and then freeze
java -version result:
➜ ~ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
Finally i fixed the issue via downgrading the jdk from jdk-8u161-macosx-x64 to jdk-8u151-macosx-x64
I have download Dr.Java ( the latest version) and tried to open it. But it shows an error, saying that I need a Java Runtime Environment 1.5.0.
So I go to my command prompt, and I put in : "java -version". Here is the result:java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
So I clearly have Java downloaded. Is my version "too modern" for Dr.Java?
I had the similar issue as I was using jdk10. It seems like drJava is not compatible with new jdk10. I resolved my issue by installing jdk version 8. https://java.com/en/download/
I have java JDK installed sucessfully in my mac os 10.9 ..
$ 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 !!!
It looks like eclipse is unable to locate the installed java. You can tell eclipse to point to this version of java by modifying eclipse.ini file
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
In Eclipse I do not have option java 8 in new project and java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
says I have 8 installed. I am running Kubuntu 14.04 and installed java 8 through the repositories.
Here is the snaphot that show that I cannot compile in java 8 ... :
Eclipse doesn't have built-in support for J8. We have to wait until Luna comes next month.
However you can install it by marketplace.
Hope to help