Question

“Create a new Java Project” Project name = Lab3 “Use project folder as root for sources...

“Create a new Java Project”

  • Project name = Lab3
  • “Use project folder as root for sources and class files”
  • Finish

Set your classpath for the workspace:

  • Project > Properties > Java Build Path
  • Libraries
  • Add External Jars
  • # if on Windows Choose algs4.jar and stdlib.jar from your user directory Documents/alg4
  • # else Choose algs4.jar and stdlib.jar from ~/alg4

(I hope you’re getting familiar with this sequence. From now on, I’ll just say “create new project LabX”, and you’ll need to remember to do the rest)

In your terminal (bash), you’ll need to cd into that new Lab3 directory:

% cd LOC     (where LOC is the location of Lab3, in your eclipse workspace)

Homework Answers

Answer #1

I think, You need the help on step-by-step creating the project..

1. Get the eclipse software installed.. This is a Java IDE on which we will create our project.

2. Run Eclipse.. Select a workspace.. If You do not have one already, create a Directory and use it as workspace.

3. File Menu -> New -> Other

in the popup, search for Java Project.
give Name as Lab3 and click on finish at bottom.

Once done.. you will see the Lab3 project on left panel in eclipse as a project..

Right click on Project in left window, and select the last option for Properties:

in next pop up, select Java Build Path,

Click on Libraries tab, and then on right side, you have option to add external JARS.. Then you can add your algs4.jar and stdlib.jar.

now, Your project is created.. In the workspace, whichever location you selected in step 2, You will see a folder getting created with name "Lab3".

Let me know if any issues.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT