[Q] Help with JDK install - Android Software Development

Ive installed the android sdk and then installed eclipse but i'm not sure whether I have JDK installed or not, Is there some way I can check this ?
Also will it make a difference if I need to install JDK even though eclipse has already been installed. Does the JDK have to be installed in a specific location for eclipse and android sdk to use it properly.
Thank you.

Ar you using windows, linux or Mac?
If you are on a Mac then you do not need to download the JDK because Java is already installed. If you are using Windows then yes, you do need to download the JDK. I'm not sure about Linux.
That said, if you are using Windows and you are unsure whether it is installed then, most likely it is not. Links to the JDK are available on the same Android developer pages where you downloaded the SDK. It doesn't make any difference if you've already installed the other components. Simply download and install the JDK and you should be good to go.

Related

[Q] Developing in Windows 7

Has anyone successfully installed eclipse and ADT on Windows 7 64 bit Home Premium? I installed Eclipse (Galileo SR2 32bit) and attempted to install the ADT and DDMS plugins. Eclipse lists ADT and DDMS as installed software but they do not show up in the plugin list. As a result, I can't create an Android project since it does not show up in the new projects . I am not sure if I am missing something simple or if there is a basic incompatibility with Windows 7. I have successfully set up the ADT on XP but am new to Windows 7 (and I don't much experience with Eclipse). Any help or ideas would be much appreciated.
PS. I have also downloaded JDK and Android SDK and modified my Path envirnoment for each.
I never could get things working in win7 (I have win 7 pro 64bit) so I built a VMWare virtual machine with linux and set it all up there and run the VM under win7.
I'll probably end up something similar. Thanks for the info.
Sent from my X10a using XDA App
It's been a few months but as I remember I had no issues installing on win7 64x Pro
Sent from my Nexus One
No issues here too
I installed eclipse, the plugin and the sdk just yesterday without any problems.
Although I tried on an older windows 7 system a few months ago, and had issues with Eclipse giving some random errors.
I read version 3.6 had issues, so this time I installed 3.5, all is working fine so far.
Thanks everyone for the commnets. I couldn't get eclipse to recognize the ADT properly so I assumed it was a Windows 7 compatibility issue. After hearing of your success, I ended up reinstalling eclipse, ADT SDK and JDK. That seamed to do the trick so I am up and running in Windows 7. I aslo installed VMWare/Ubuntu/Eclipse so I now can develop in Windows or Linux.
Have you tried to run the executables in Windows XP compatibilty mode?
Right click on the exe, go to properties, compatibility tab and check the box and select windows XP service pack 3.
Most of the programs which are compatible with XP and not with Win 7 can be ru this way...

vista home prem 64bit and sdk compatibility issues?

Is there something I forgot to do beyond the instructions in the dev resources for installation on the android sdk site?
I went through a couple of the test projects to get a feel for it, and keep getting execution fc's in the emulator, exported everything to my laptop(vista 32bit) and no problems.
Have reinstalled the sdk, eclipse and java on my desktop machine but no help. Any thoughts?
Weird question, but have you set the SDK version when you created the project? Happends when you are in a hurry!

android sdk wont install..

my desktop is kind of broken right now, so i am trying to install the sdk here on my windows 7 x64 laptop. the desktop was vista x32.
ive done this before and had no problems. download JDK and JRE, then the SDK. too easy right? well the SDK installer is lying to me.. its trying to tell me the JDK isnt installed! it wont let me progress from there, it just gives me a link to the download for JDK.
thought maybe i should reinstall. i did. rebooted and what not. still not working.. any insight?
you have already installed JDK right? OK, go here:
Start, Rightclick on "MyComputer" -> Properties -> Left More Settings -> Environment variables -> put in "PATH" the Path to your JDK, mine for example: "C:\Program Files (x86)\Java\jdk1.6.0_20\bin" but dont forget to make a ";" before the path. it should work then. sry for my bad englisch
Thank you! Will try soon
Sent from my nonsensikal froyo using XDA App
I'm actually about to pull my hair out.
I intstalled droid explorer which wasn't functioning right, so i uninstalled and put android commander on this required me to download android sdk, when downloading that it wanted me to install jdk before it progressed.
I downloaded it and it didn't seem to like it, so I went and downloaded another jdk didn't like it either...
I tried the path thing thinking it would work, seemed like a decent solution its C:\Program Files\Java\jdk1.6.0_23 on my computer and still nothing... really frustrating as I now can't use any software to view my android...
sometimes i just hate computers
Try installing the 32 bit version instead of the 64. That's what solved the issue for me.
I had the same issue (on a Windows 7 64-bit laptop). I ended up giving up on the exe and using the zip file instead.
fudsey said:
Try installing the 32 bit version instead of the 64. That's what solved the issue for me.
Click to expand...
Click to collapse
bbhatt said:
I had the same issue (on a Windows 7 64-bit laptop). I ended up giving up on the exe and using the zip file instead.
Click to expand...
Click to collapse
These.
Or see this thread if you want to install via exe on 64bit JDK (it's looking in the registry): stackoverflow.com/questions/4394584/android-sdk-install-problem
Relevant answer:
On Win 7 x64 the Android SDK Installer is looking JDK in 'HKLM\SOFTWARE\Wow6432Node\JavaSoft' registry branch, but in reality the JavaSoft was placed in 'HKLM\SOFTWARE\JavaSoft'. I copied all JavaSoft branch to the path search, and then the installer found the JDK.

System requirements for Super One click? SDK, JRE... ???

Friend asked me for help to root his phone.
Does JRE and Android SDK tools need to be preinstalled on PC?
Win XP SP3.
Try to look here:
forum.xda-developers.com/showthread.php?t=803682
As far as I'm aware, no.
framework 4.0
I didn't have any of that when I rooted my phone.

Windows 8 and SDK Installer

Guys i have a trouble...
I installed windows 8 and JDK 7 without problems but when i go to install the android SDK tools the installer says to me that can't find Java SE Development Kit.
Don't worry I'm not a noob and yes i downloaded the right version of JDK. Simply the SDK installer can't find C:\windows\system32\java.exe when in fact the file is in that folder.
I go to set an environment variable Java_home that point to Java.exe but does not work.
Can anyone help me? Thanks.
Mine is working fine. I downloaded the latest version of JDk. There was no neeed of setting environment variables.eclipse and adk works fine.i use latest juno with with updated sdk.
send from Gods Own Country........
Java and the Android SDK
Uninstall Java and when you start to install the Android SDK it will prompt you to install Java and provide a link. Once it does that click on the link and let it take you to the Java download page and install the latest JDK. If that does not work open your hard drive and make sure that the Android SDK and Java are both under program files and not your username or something else. I just had a problem with the Android SDK and for some reason it installed it self under my user name and I had to move the folder myself and once I did that everything installed fine.
I just bumped into the exact same situation as OP, I solved it by removing the 64 bit JDK 7 and installing 32 bit version. I'm using Windows 8 if that matters.
Have same issue, will try to do suggestion and report back.
Sent from my Nexus 7 using XDA Premium HD app
njankit said:
I just bumped into the exact same situation as OP, I solved it by removing the 64 bit JDK 7 and installing 32 bit version. I'm using Windows 8 if that matters.
Click to expand...
Click to collapse
after trying for 2 hours with different "fixes" and guides, this one works and it's so simple, can confirm on windows 8 64bit installing java jdk 7 32bit makes the android sdk see java
The SDK is probably set to require the 32-bit JRE for some reason. Not sure what's up with that... some software (Minecraft comes to mind) insists on 32-bit in its manifest, even though it actually runs better under 64-bit Java. You can try checking for a manifest specifying 32-bit in the relevant jar...

Categories

Resources