I downloaded JDK & Android SDK.
I installed JDK, but when I'm trying to install the Android SDK the installer claims that JDK is not installed.
What can I do?
Edit: OS is Win7 32bit
Hit BACK and then NEXT again and you're able to install the Android SDK.
Doodle asks an important question, I've run into similar problems when I first upgraded to Win7 64 bit, feeling saucy I put 64 bit Java on, only to find that FF 3.x, which was 32 bit couldn't use it, and I also had problems with Eclipse. You can run both 32 and 64 bit JRE's and JDK's side by side with no problem, so that may fix it. Also, make sure that your JAVA_HOME is set correctly, and that the JDK is properly pointed to by Eclipse in the Window>>Preferences>>Java>>Installed JREs. I know it says JREs, but trust me, everything about Eclipse works better when it points to a JDK and runs from a JDK.
YMMV
I had the same problem in windows 7, hitting back and next didn't work for me,
I added JAVA_HOME variable pointing to the jdk folder and added the %JAVA_HOME%\bin to Path environment.
Related
I just downloaded the Android Developer Tools Bundle. I started following the setup instructions and gotten as far as extracting the files to new location ("Development") as it says. I tried running the Eclipse app as instructed, yet a window popped up saying;
A Java Runtime Environment (JRT) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following location:
C:.........\Development\adt-bundle-windows\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
I tried compatibility trouble-shooter which can not detect a thing, whether it was the right action to take. I looked across stackoverflow and tried a few of the suggestions with no change. I looked at windows site and android site and nothing seems to make any difference, good or bad (well, I hope no bad).
I literally got this laptop 10 days ago and all programs are brand new, no updates or reinstalls etc.
I am running a Windows 8 with 64bit, which is what I selected at download of ADT Bundle.
I had downloaded the wrong java file.
To fix I went to;
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html
and accepted terms then downloaded the appropriate file which I had to signup for registration;
Windows x64 90 MB jdk-7u7-windows-x64.exe
It worked without changing any PATH.
Thank you..
At first download jdk(java development kit) and install it. the jdk includes the jre(java runtime environment). You can also install the jre alone.
Thank It worked. Just add C:\Program Files\Java\jdk1.7.0\bin in your PATH
Control Panel
1. System
2. Advance Setting
3. Advance
4. Environment Variables
5. System variable Group
6. look For PATH in the list
7. Edit
8. Add path of your C:\Program Files\Java\jdk1.7.0\bin jdk installation and save
Remember to separate value with ;
You must download a JDK or JRE first from java.oracle.com, and add your installation folder in the PATH system avaiable.(Control Panel --System--Advance Settings --advance -- enviroment)
Go to the following page and download the executable on java.com
The executable installs the latest JAVA virtual machine.
NOTE: for Windows only
The installer knows your current version of windows.
I'm trying to install the android sdk.
But it keeps saying Java se development kit not installed, I installed it twice.
The next line says "Errror failed to find java version of
c:\Windows\system32\java.exe, well the file is there.
Then it says:
If you believe you have installed the sdk, simply set a environment verbal java)home to point to it,
well I hava java home as
c:\java\jdk1.7.0_05
and it still gives the same error,
how do I get pass this?
Android requires Java 1.5 or 1.6. It will not work properly with 1.7.
So downloand and install the 1.6 JDK and I believe your issue will go away.
Had the same problem before. Press Back and then Next, things will be OK.
It seems like it doesn't work without 32 bit JDK. Just install itfirst.
![enter image description here][1]Thanks for taking the time to read my question.
This is not another back, then next problem.
I have installed eclipse classic and jdk-7u3-windows-x64, the problem is when I go to install the android SDK, I get this error:
http://i.stack.imgur.com/V9VIY.jpg
I have been searching the net all night, one solution seems to be for an earlier version of the Android SDK is to click back then next, I have tried this to no avail.
I have also set up a environment variable, this didn't work either.
I have checked that java has definitely been installed, I have run and installed all software as admin. Still I get the same message.
So can anyone out there help me with this issue?
Big thanks in advance for any help!
Nick.
I had similar problem with Windows 7 - 64 bit machine. The installation of the Andriod SDk wil l hang on the screen where it is trying to locate JDK. I had both 64 and 32 bit JDK installed. JAVA_HOME was set to correct JDK (32) bit to C:\Java\jdk1.6.0_13 but the installer will get stuck in a loop and will never recover from the screen.
It is silly really but what I had to do was, to reinstall jdk-6 32 bit in a different directory this time (C:\Program Files (x86)\Java\jdk1.6.0_31) , change the JAVA_HOME to C:\Program Files (x86)\Java\jdk1.6.0_31 and reinstall SDK.
Very strangely it didn't pick up new installation of JDK at C:\Program Files (x86)\Java\jdk1.6.0_31 as set in the JAVA_HOME, instead it picked up my old installation from C:\Java\jdk1.6.0_13\
Someone really need to check their codes at Google!!
But sorted , I am happy
I think all the installed and uninstalling of java caused the above error. Anyway restored my computer back to a certain point and installed the jdk 6 32 instead to start with. The sdk found it straight away.
I recently updated to ADT r17. Ever since then, none of the android tools could see java on my system. I could not launch AVD Manager, SDK Manager, Draw-9patch, anything. The only way I could get an AVD to launch was to compile from eclipse without my phone plugged it. Java is still on my system, everything was working perfectly on r16. I can still go into the command line and type java and javac and everything works.
I uninstalled the sdk (by deleting the folder) and am attempting to reinstall it. The installer doesn't even see java. I tried clicking back and next again. No dice. I have in my system variables:
JAVA_HOME C:\Program Files\Java\jdk1.7.0_03\bin
I just did that one after the first failed attempt to reinstall since that's what is recommended on the installer. Did not help. What was working before was:
...F:\Development\Android\android-sdk\platform-tools;C:\Program Files\Java\jdk1.7.0_03\bin;...
I can confirm that at the end of the filepath, in the bin folder, java.exe and all it's other programs are there. I'm downloading the .zip sdk, but I don't think that's going to help much, since none of the tools seem to see java even when extracted. Edit: I can confirm, simply extracting the .zip did not help.
I'm on a 64bit system. Everything was working with r16. Any ideas? Should I go back to r16?
You can reference here: http://code.google.com/p/android/issues/detail?id=28196
I set JAVA_HOME=d:\jdk1.7\jre\ (which is my JDK's directory) to solve this problem.
For whatever reason, adt r17 decided it did not like 64bit Java, even though r16 was fine with it. Installed 32bit java and added that to my path. Everything is fine now.
I've tried to search for similar problems, but can't seem to find it.
I run:
Windows 7
Java SE Developement Kit x64
Eclipse Helios (downloaded here from Eclipses homepage --> Downloads --> Eclipse IDE for Java EE Developers --> 64 Bit)
"Android SDK Windows"
I've been following the guide from the Android Developers homepage.
I can launch Eclipse just fine. Under Help --> Install New Software ...
Here, I give it a name myself (Android Plugin Test), and under location, I've typed "http://dl-ssl.google.com/android/eclipse", as said in the link.
Then it find Developement Kit, and I install it and all that & restart Eclipse.
The following are now installed:
- Android DDMS
- Android Development Tools
- Eclipse IDE for Java EE Developers
So everything seems fine.
BUT ..
When I go to Window --> Preferences, "Android" is missing.
I have no problems seeing General, Ant, Data Management etc.
So my question is, what's the problem ?
As said, I downloaded Android SDK, but when I try to run the setup, I get this error, about missing Java:
http://img827.imageshack.us/img827/600/javaproblem.jpg
And that's where I'm lost.
Because, under installed programs, it says:
- Java(TM) SE Developement Kit 6 Update 21 (64-bit)
And yes, I have restarted after installing Java.
For some odd reason, it's not possible for to run the SDK setup with any compatibility. It's greyed out
(Yes, I'm admin, and I don't have any problems on other programs)
I checked the Requirements for Android SDK, and it says Windows XP & Vista, but not 7 .. But as far as I know, other people got it to work.
So .. What am I doing wrong ?
Do you have any solutions ?
If I need to download other Java versions (or anything else), please provide links.
You need to take care of three things...I too faced similar problems so can tell you how to go about it:
1) Download Eclipse -> 32 bit version...since your SDk is 32 bit...make sure ur JDK is 32 bit...
2) After downloading 32 bit version install Android ADT first......
3)Then go to Preference-> Android -> Give the SDk path here......n then download the platforms and samples....
Feel free to ask if your still unable to get it sorted coz i faced similar problems....
If I remember correctly, you need to add your Java's /bin path to your path environment variable by hand. Open your Computer by right-clicking, go to Advanced system settings, then Environment Variables and add the full path to the Path variable. For example, I added ;C:\Program Files\Java\jre6\bin to the existing string.