While this advice may be good, remember that Highmastdon started this thread saying he is developing under NetBeans. NetBeans sets CLASSPATH for the user, based on his choice of project: I forget the details, since I gave up on using NetBeans for Android and have learned Eclipse instead.
On Oct 28, 4:52 am, Matt Raffel <[email protected]> wrote: > I would say your first action should be to evaluate your environment > variables, especially: PATH, CLASSPATH > > yungbol wrote: > > > On Sep 23, 11:50 pm, Sudheesh J <[email protected]> wrote: > >> I think you don't have JDK installed (http://java.sun.com/javase/ > >> downloads/index.jsp). > >> Or if you have already installed it, make sure that the bin directory > >> is in the PATH. > > >> On Sep 23, 4:35 pm, Highmastdon <[email protected]> wrote: > > >>> Hi, > >>> I've been trying to run a default application in netbeans, but there > >>> is no AVD to select. > >>> So i found this command to install it. > >>> Go to the <Tools> folder and run this command "android create avd -n > >>> <name> -t 2" > >>> In my case i did this in my Commandline: > >>> cd C:\Program Files\Java\android-sdk-windows-1.6_r1\tools\ > >>> android create avd -n androidAVD -t 2 > >>> I get the following error: > >>> 'java' is not recognized as an internal or external command, operable > >>> program or batch file. > >>> SWT folder '' does not exist. > >>> Please setANDROID_SWTto point to the folder containing swt.jar for > >>> your platform. > >>> I hope you can help me. > > > I have the same error, I have: > > JDK installed to C:\Sun > > Eclipse installed to C:\Android > > SDK installed to C:\Android > > > Can someone tell me what to move? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

