I am using Mac os x Yosemite version 10.10.1 and Eclipse Luna 4.4i integrated the Android SDK into Eclipse and showed the following error
I am using Mac os x Yosemite version 10.10.1 and Eclipse Luna 4.4
i integrated the Android SDK into Eclipse and showed the following error
I searched on the net and I found out that this problem is based on the Java JDK issue.In My mac, I also installed JDK 1.6 and 1.7 and 1.8.I know that JDK 1.6 does not support android 5. so in Eclipse I install the java compiler in JDK 1.7, but after installation, if I restart Eclipse, it will install JDK 1.6 again.My question is which JDK will support the Android SDK on Mac. And how to completely remove JDK 1.6 from my Mac machine.I have encountered this problem in the last two days, but so far I canβt get a solution. can anyone help to overcome this problem.My simple need is that I want to run Android on a Mac machine.
I searched on the net and I found out that this problem is based on the Java JDK issue.
In My mac, I also installed JDK 1.6 and 1.7 and 1.8.
I know that JDK 1.6 does not support android 5. so in Eclipse I install the java compiler in JDK 1.7, but after installation, if I restart Eclipse, it will install JDK 1.6 again.
My question is which JDK will support the Android SDK on Mac. And how to completely remove JDK 1.6 from my Mac machine.
I have encountered this problem in the last two days, but so far I canβt get a solution. can anyone help to overcome this problem.
My simple need is that I want to run Android on a Mac machine.
The problem is resolved. after searching a lot of this I got a solution.AnswerEclipse must be 64-bit, and for using android java JDK must be 1.7
The problem is resolved. after searching a lot of this I got a solution.
Answer
Eclipse must be 64-bit, and for using android java JDK must be 1.7
Bro, check out this post:
http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/
Upgrading to Eclipse Luna 64 bit with at least JDK 1.7, and I almost guarantee that everything will work.
Source: https://habr.com/ru/post/982815/More articles:Java Java API Code / Documentation Example - javaHow to handle database rollback in Azure deployment slots? - code-first-migrationsstd :: set :: operator <(const std :: set &) does not use C (), but std :: less () - c ++Display HTML file with JS inside iPython laptop - javascriptGradually find the most used item in the list in R - optimizationIs there a way in python to execute all functions in a file without calling them explicitly? - pythonXcode 6 [NSString drawInRect: withAttributes:] - xcode6.1.1COPY cassandra table from csv file - copyPseudo-element background image does not appear - htmlHow to get an array of weekdays from the system in Swift? - swiftAll Articles