Eclipse: start new java project in one step?
I'm a total newbie to programming and just started learning JAVA i order to program Android apps.
I started out with netbeans and got familiar with it quickly. I then changed to eclipse because of the Android support. But if I just want to make a simple java project in ecl开发者_开发问答ipse then the wizard doesn't ask for a package name and I have to add the package afterwards.
Isn't it possible to create a package from the wizard - just like in netbeans (and like when you create an android project in eclipse)?
Take a look at this. http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm
You can do it while creating a class i.e. specify the name of the package.
Click on File -> New Project select the JRE you want to use and then click Finish.
Then right click click on the project name in the workspace. Select New -> Package
you can then enter the package name over here
you can get description how to create new application in android in eclipse from this link:
http://developer.android.com/resources/tutorials/hello-world.html
精彩评论