JDK for android app development - java

Im trying to get started with app development. Isnt this the corrent JDK if i want to use eclipse + android plugin?
Java SE Development Kit 7u5: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
When i try to install the android SDK tools it tells me that i dont have the correct JDK installed.
And yes, ive tried this already: Android SDK installation doesn't find JDK
Thanks

Java 7 is not officially supported by the Android SDK at this time. Please use the latest version of the Java 6 JDK.
UPDATE: Java 7 is now supported.

Related

How to find the proper SDK version for Eclipse Neon?

So, I migrated from Java 6 to Java 8 and from Eclipse Kapler to Neon. Before I used eclipse-SDK-3.7.1-linux-gtk-x86_64 for the SDK in my build.xml.
Now I'm trying to figure out which SDK I need to use and where should I download it. Should it be eclipse-SDK-4.6-linux-gtk-x86_64? How do I know which version of SDK is the needed for Eclipse Neon and JDK 8?
Neon was indeed version 4.6, but it was released in June of 2016, meaning it's old enough to have been archived. The current release, 2020-03, is capable of writing for Java 8 just fine.

NetBeans won't detect java ME platform

I am totally new at programming with Java and mobile App development. I have installed Netbeans v8.2 (the full bundle) then installed Java ME 8.3/8/3.4, but every time I go about adding any of the platforms it tells me that the detection's failed. I then tried to add Java ME manually but when I write in a new file it doesn't seem to recognize any of the standard built-in functions. Also, tried installing the Java Me plugins from the site, but it made no effect of adding any features to the IDE. How could I get the IDE to detect Java ME platform?
I have JDK x64 v8u144 installed and Netbeans had no problems with detecting it.
Have you tried installing JAVA ME SDK 3.4? It contains plugins for netbeans and the SDK of the same instead of installing of the Java ME 8.
I was facing the same error.. Installing Sun Java Wireless Toolkit worked for me.
Link: http://www.oracle.com/technetwork/java/index-jsp-137162.html
The issue is with JDK version. The issue was resolved by downgrading from jdk-8u241 to jdk-8u112. I'm using Netbeans 7.4 and Java ME SDK 3.4.

Java ME platform SDK 8.2 vs 3.4

I am try to learn Java ME,
So i downloaded and installed the Java ME SDK 8.2 from link,
and when i tried to create a new Mobile Application it did not detect the Emulator Platform,
And when i tried installing the SDK 3.4 version, i got the emulators.
So my question is, why does the 3.4 version contains the emulator, and the 8.2 doesn't? or are they completely different?

Parsing Data for android-21 failed on JDK1.8

Been facing this issue on the out of the box standard android 21 application see attached
I am on 10.9.5 Mac OS X
I am currently on JDK 1.8 see
/usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
In eclipse it shows the following:
I have tried switching the JDK versions and also installing/uninstalling eclipse, SDK and SDK tools.
Everything works fine in Android studio but not eclipse. unfortunately I have to get it to work on Eclipse.
Would appreciate any pointers you may have on the issue!
You will need to install JDK version 1.7. Android doesn't support JDK v1.8 yet. You can get the latest JDK v1.7 from here.
Also, when you update your Android SDK, you must also update your Android Development Tools (ADT) for Eclipse at the same time. If you don't, you'll get all sorts of errors.
UPDATE: As of April 27 2015, Mac® OS X® version 10.9.5 and JDK version 1.8 are not yet supported by Android SDK. See here for more info.

Using JDK 7 Or Higher With Android Studio And Eclipse On Mac OSX

Both Android Studio and Eclipse are asking me to install JDK 6 even though JDK 8 is already installed. Several workarounds online told me change the java_home to point the JDK 8 installation location, done that such that both /usr/libexec/java_home and java -version commands refer to the JDK 8 installation but Android Studio and Eclipse still asking me to install JDK 6. Anyone solved this issue.
Android Studio is based on Intellij Idea 13. The solution here also applies. Just modifying Info.plist from 1.6* to 1.7* did it for me.
Btw, I've observed that at least Android Studio 0.5.5 uses massive amounts of memory. With Java 8 it gets over 2GB for very simple projects. With Java 7 it is still bad, but takes around 1.5GB.
Changing SDK Location also works for Android Studio Project

Categories