So first, these variables are case-insensitive so PATH or Path doesn't make a difference here.
Next, it doesn't matter which you choose to modifiy unless you have multiple user accounts. If you have a single user account, simply modify the user account one and leave the system one alone. Third, you don't want to replace what's already there, just add to it -- that way it won't break existing stuff. The path syntax is "path1;path2;path3..". The semi-colon is the separator, so just add a ; and then the jre/bin path at the end. HTH R/ On Tue, Apr 14, 2009 at 11:46 PM, <[email protected]> wrote: > I really appreciate this help. Yes I do have the latest JDK installed. When > I goto the enviroment variables I have variables for my user account and > also system variables. Both of them have a Path variable, which one should I > edit? Also, just to be clear they are 'PATH' for the user account and 'Path' > for the system variable, no 'path'. And another question? If I edit these > and change them to the jdk are they most likely going to break the other > programs that it was set too? Thanks again for your time! > > On Apr 15, 2009 1:24am, Raphael <[email protected]> wrote: >> That error may mean two things: >> >> >> >> 1- Do you have Java installed? You probably got one for Eclipse. If >> >> not, get the latest from java.sun.com. >> >> >> >> 2- If you have java installed, it's not in the path by default. >> >> >> >> To fix #2: >> >> - open Control Panel > System, >> >> - Advanced tab >> >> - Environment Variables button at the bottom >> >> - Add the JRE bin to the path, e.g. edit the "path" variable to add >> >> something like this at the end: >> >> ;C:\Program Files\Java\jre1.6.0_07\bin >> >> - Say OK tons of time >> >> - Re-open your command prompt and try again. >> >> >> >> R/ >> >> >> >> On Tue, Apr 14, 2009 at 9:22 PM, schwiz [email protected]> wrote: >> >> > thanks for the reply but when I am getting an error. Here is a copy >> >> > of the command and the error. Any ideas? >> >> > >> >> > C:\Users\...\Desktop\eclipse\android-sdk-windows-1.5_pre >> >> > \tools>android create >> >> > avd --name myAVD2 --target 2 >> >> > 'java' is not recognized as an internal or external command, >> >> > operable program or batch file. >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > On Apr 14, 12:18 am, Raphael [email protected]> wrote: >> >> >> First open a dos box, also called a "Command prompt": >> >> >> >> >> >> Under XP: >> >> >> Start menu > all programs> accessories > command prompt >> >> >> Under Vista just search for "command prompt" in the Start seach box. >> >> >> >> >> >> Then use the "cd" command (=change dir) to change the directory to >> >> >> where you installed the SDK. >> >> >> If you want to make things easy, just place the sdk in "c:\sdk" using >> >> >> the windows explorer and type this: >> >> >> >> >> >> c: >> >> >> cd \sdk\tools >> >> >> >> >> >> Then you can create your AVD like this: >> >> >> >> >> >> android create avd --name myAVD1 --target 1 >> >> >> >> >> >> android create avd --name myAVD2 --target 2 >> >> >> >> >> >> The target 1 will be for Android 1.1 and target 2 for Android 1.5 >> >> >> >> >> >> Let us know if that helps. Google "command prompt tutorial" for more >> >> help :-) >> >> >> R/ >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Apr 13, 2009 at 9:53 PM, schwiz [email protected]> wrote: >> >> >> >> >> >> > So im wanting to fiddle around with the new sdk but I never learned >> >> >> > how to use command line in any IDE (does my school just suck or is it >> >> >> > not very common) Anyways I need to create an AVD with the command >> >> >> > line can someone please tell me the steps or tell me somewhere I can >> >> >> > read up on this. Ive tried google searching command line eclipse, >> >> > but >> >> >> > the only results I get are nifty commands I can use once I actually >> >> >> > find out how to get a command line. Im using windows. >> >> > >> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

