Indeed, you need to close and reopen the command prompt after changing
the environment variables.

Glad it worked. You now know command-line :-)
R/

On Wed, Apr 15, 2009 at 12:58 AM, nathan schwiz <[email protected]> wrote:
> nvm, I had to close out the command prompt entirely for changes to
> take effect.  Thanks for your help!!!!!
>
> On Wed, Apr 15, 2009 at 2:57 AM, nathan schwiz <[email protected]> wrote:
>> hmm ok I appended C:\Program Files (x86)\Java\jre6\bin and C:\Program
>> Files (x86)\Java\jdk1.6.0_13\bin both with the semicolons before them
>> to my path variable and hit ok.  But Im still getting the same error
>> message in the command prompt.
>>
>> On Wed, Apr 15, 2009 at 2:46 AM, Raphael <[email protected]> wrote:
>>> I used [email protected] like for your first post.
>>> Since you use gmail, simply hit the "reply all" button to my posts.
>>>
>>> R/
>>>
>>> On Wed, Apr 15, 2009 at 12:41 AM, nathan schwiz <[email protected]> wrote:
>>>> ok, what email address to I plug into cc?
>>>>
>>>> On Wed, Apr 15, 2009 at 2:36 AM, Raphael <[email protected]> wrote:
>>>>> Note: I'll reply by adding the list as CC: -- that's necessary so that
>>>>> others can find this thread later when googling for a similar issue.
>>>>> You should do the same and simply use reply-to-all.
>>>>> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to