Nachos operating system learning (1) Importing nachos source code to eclipse in windows

Source: Internet
Author: User

Nachos operating system learning (1) Importing nachos source code to eclipse in windows

I am afraid I don't have to think about anything like start-ups and looking for work in this time period. It is the most important to learn something honestly, so I am aiming to learn the operating system, nachos is a learning-type operating system that is easy to use. In addition, UC Berkeley computer Institute provides nachos source code written in java to learn the operating system mechanism using the object-oriented approach, I think it is more suitable for the landlord to learn from me. The landlord will continue to update the learning experience of this series. If you have any mistakes, I hope you can correct them more. Qq: 81996308 is willing to become a pen pal with you!

First, you need to download the windows version of the source code, Official Website: http://www.cs.berkeley.edu /~ Kubitron/courses/cs162-F05/Nachos/index.html

The landlord I also uploaded a free resource URL: http://download.csdn.net/detail/u014492257/8604723

Next, we will focus on importing nachos source code to eclipse in windows:

1. Open eclipse and create a project named Nachos2, as shown in:

2. Find the corresponding working path of the new project Nachos2, and copy all the decompressed nachos source code to the src Folder:


3. Copy the nachos. confi file in proj1 to the root path of the Nachos project, that is, the folder in the same path as src:



After completing the preceding three steps, you can run the program. The specific steps are as follows: Find the nachos. machine. Machine. java file and right-click to run the program.


Programming: in the next month, the landlord will read the code and study it together. Due to the limited ability of the landlord, there is something inappropriate. I hope you will give more comments!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.