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?
Related
I recently bought a new MacBook. I installed the Android SDK and Studio and then I imported my project. AS suggested to use the bundled Open JDK for my project. I accepted and I am able to build and run my project via AS.
The problem is, my command line doesn't work :(
==> ./gradlew clean
No Java runtime present, requesting install.
After running the above code the following alert displays. This web page will be open when I click on the More Info button.
After I searched I realized that I have to have JDK installed on my laptop. I remember -from thousand years ago- that I have to have JDK 8 on my laptop. I also heard that android projects work with JDK 11.
It looks like the latest JDK is 15. So, what should I do? What is the latest JDK that can be used for Android app development?
Anything Java 8 or above is fine.
Find path to JDK in File > Project Structure, Tab SDK Location > JDK Location.
In MacOS, installed Virtual Machines are normally placed in /Library/Java/JavaVirtualMachines/*
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.
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.
I am trying to install the android ADT for Eclipse from http://developer.android.com/sdk/installing/installing-adt.html
And get the following error:
If it helps, I am running windows 8.1 and using the latest version of Eclipse. Thank you.
from the Icon of your Dialog I see that you are running Eclipse 4.4. Unfortunately, Android ADT doesn't seem to be supported by that version. Check out this thread as well: Google adt/gwt support for eclipse 4.4 (Luna)
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.