Results 1 to 4 of 4
Thread: new project - please help!
- 01-01-2013, 03:17 AM #1
Member
- Join Date
- Jan 2013
- Posts
- 2
- Rep Power
- 0
new project - please help!
hi everyone,
i am very new to java. I have some basic experience programming in java using eclipse and have made a number of programs in an empty project which i downloaded using a link from the internet on the stanford website. (CS106A Programming Methodology)
I can do all my assignments creating classes in this project. I really don't understand how this project was created (i.e. which libraries are included or other stuff that makes this project unique).
I would like to create a new project from scratch that has all of the information that this empty project has. How can I do this. I'm afraid my understanding of libraries and packages is very limited so if somebody can take the time to explain it to me in a simplistic way, I would really appreciate it.
So to sum up, I would like to create a new project that contains all of the information from the empty project that I downloaded from the above link.
Thank you very much,
Al
- 01-01-2013, 03:55 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,717
- Rep Power
- 16
Re: new project - please help!
I tried the following using Eclipse (Indigo):
* downloaded BlankProject.zip from the "resources" page at the link you gave
* unzipped the contents (a BlankProject folder) onto my desktop
* choose "File -> Import..." from the Eclipse menu
* under the "General" tab in the dialog I choose "Existing projects into workspace" and browsed to the BlankProject folder on the desktop
* made sure "Copy projects into workspace" was checked and hit "Finish"
At that point I had a new project called EmptyProject which included a BlankClass.java and, most importantly, the acm.jar was included under "Referenced libraries". At this point the project and the class can be renamed etc within Eclipse. The BlankProject folder can be resued - but you have to rename the project in Eclipse first because it won't let you import another project into the workspace if one with the same name already exists.
(For reference you can type "import project" into the Eclipse help browser and look for "Importing existing projects".)
- 01-01-2013, 06:51 AM #3
Member
- Join Date
- Jan 2013
- Posts
- 2
- Rep Power
- 0
Re: new project - please help!
Thank you so much pbrockway2 for your helpful and informative reply. Followed your advice and achieved what I wanted to very easily.
cheers,
al
- 01-01-2013, 07:59 AM #4
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,717
- Rep Power
- 16
Re: new project - please help!
You're welcome. I know just how frustrating it can be to get an environment set up so you can try things out. (If you have any connection with Stanford you could mention to the that a few words of instruction along with the download wouldn't go astray.)
Good luck with Karel and programming.
Similar Threads
-
how to convert a java project into a javafx project?
By such orb in forum NetBeansReplies: 7Last Post: 11-27-2012, 10:16 AM -
How to transform a regular project to an EJB project?
By eildosa in forum EclipseReplies: 1Last Post: 05-17-2012, 09:43 PM -
Creating a project in eclipse from existing project
By Suraiya in forum New To JavaReplies: 1Last Post: 10-08-2011, 09:14 AM -
Adding a project to an existing project
By Seijuro in forum NetBeansReplies: 4Last Post: 08-08-2010, 10:15 AM
Bookmarks