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
Step 1: Create a new Java project in NetBeans called “PartnerLab1” Create a new Java Class...
Step 1: Create a new Java project in NetBeans called “PartnerLab1” Create a new Java Class in that project called "BouncyHouse" Create a new Java Class in that project called “Person” Step 2: Implement a properly encapsulated "BouncyHouse" class that has the following attributes: Weight limit Total current weight of all occupants in the bouncy house (Note: all weights in this assignment can be represented as whole numbers) …and methods to perform the following tasks: Set the weight limit Set...
In Java please 10.9 Lab 6 In BlueJ, create a project called Lab6 Create a class...
In Java please 10.9 Lab 6 In BlueJ, create a project called Lab6 Create a class called LineSegment –Note: test changes as you go Copy the code for LineSegment given below into the class. Take a few minutes to understand what the class does. Besides the mutators and accessors, it has a method called print, that prints the end points of the line segment in the form: (x, y) to (x, y) You will have to write two methods in...
Complete a Java program named ARMgr that maintains customer accounts receivable in a database. The code...
Complete a Java program named ARMgr that maintains customer accounts receivable in a database. The code to initialize the CustomerAccountsDB database table and add a set of customer accounts is provided. Finish the code in these 3 methods in CustomerAccountDB.java to update or query the database: -purchase(double amountOfPurchase) -payment(double amountOfPayment) -getCustomerName() Hint: For getCustomerName(), look at the getAccountBalance() method to see an example of querying data from the database. For the purchase() and payment() methods, look at the addCustomerAccount() method...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT