I am trying to get cygwin and nachos working on my computer which runs vista for my operating systems class. The site I am following to try and get it to run is "" I have cygwin installed in what i think is my home directory named USer. Then I downloaded the nachos-java.tar.gz. I was unable to directly download it somewhere so i right clicked it in the downloads window that comes up when i download things and clicked open containing folder. From there i opened my USer home directory folder where i installed cygwin, opened the home folder that downloaded with cywin. Inside was another folder named USer which i dragged the to. From here I did steps 5 and 6 from the site, which seemed to work. I'm confused though as to what to do for step 7. When it says PATH i'm not sure what it means I went into the environment variables and found a Path so I'm not sure if thats the same thing. If it is I'm not sure where to enter what step 7 says into the path. I tried entering what it says only with jdk1.6.0_23 which is the version if java jdk i downloaded. However the make and nacho command didnt work. When i go back into Path it has gone back to what it was before i changed it.

If someone could help me out by giving me a better way to get nachos installed I would appreciate it if you would help me out. Or if someone could tell me what I'm doing wrong. I'm not really sure how the Path thing works so it would be nice if someone would explaining that too. Thank you

Dani AI

Generated

Short diagnosis and a minimal, repeatable checklist for (and thanks to for pointing toward course instructions). The usual problems are: Cygwin was installed without the development tools (so make is missing), the Java JDK bin directory is not visible inside the Cygwin shell, and the nachos tarball needs to be unpacked and built from inside Cygwin. Install or enable the GNU make package in Cygwin if it is missing. (cygwin.com)

Try this exact sequence from a fresh Cygwin terminal (replace YourWindowsUser and the JDK version as needed):

# verify tools
which make
javac -version

# copy the download into your Cygwin home and extract
cp /cygdrive/c/Users/YourWindowsUser/Downloads/nachos-java.tar.gz ~/
cd ~
tar -xzf nachos-java.tar.gz
cd nachos         # or the directory created by the tarball
cd proj1          # example project directory
make
../bin/nachos     # run the simulator as the docs describe

If make or javac shows "command not found", install make with the Cygwin setup program and make sure a JDK is present; Nachos build/run steps are covered by the university distribution/readme. (people.eecs.berkeley.edu)

About PATH and why edits "revert": Cygwin converts the Windows PATH into POSIX form when a shell starts, so the simplest reliable fix is to add the JDK bin to Windows PATH (Control Panel → System → Advanced system settings → Environment Variables) or to append it in your Cygwin ~/.bash_profile using the Cygwin /cygdrive form. Example for ~/.bash_profile:

export PATH="$PATH:/cygdrive/c/Progra~1/Java/jdk1.6.0_23/bin"

After changing either Windows or Cygwin startup files, close and reopen the Cygwin terminal so the new PATH is picked up. (java.com)

Quick troubleshooting notes: don't replace the whole Path string — append with a leading semicolon (Windows) or :$PATH (bash). On Vista a standard (non-admin) account uses a different UI for user variables (see Microsoft guidance) — if edits seem to fail, follow the Vista-specific steps or use an admin account. If make still fails, re-run Cygwin setup and explicitly pick the Devel/make package. (learn.microsoft.com)

This sequence should get the Java Nachos build working inside Cygwin; if a specific make error appears, include the exact make output (error lines) to diagnose further.

This might help:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.