Login  Register

Re: .hdl file modification

Posted by Jonathan on Apr 03, 2012; 8:50pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/hdl-file-modification-tp3880550p3882355.html

After downloading the project 00 and project 01 folders to my laptop (the mac), and opening the folders the icons for the files were 'gray squares' that mac uses to represent a unix executable file, at least I think that is the case, as when I use 'quick view' on any of them a larger view of the icon pops up that describes the file as a Unix executable file.  

But after changing the file with a text editor, the icon appears as a regular text file, and quick view describes it as such.  That made me think that I had to make the file executable.  I did try closing the HardwareSimulator.sh file and reopening it, but got the same result.  It won't load my modified file.

BTW, the reason I am on the Mac now, is because I couldn't get past go on my windows machine, which is an Asus laptop running Windows 7.  I found posts here about changing your classpath, and tried that, but I think that I entered the modifications incorrectly, and that is preventing my progress in Windows.

I entered this line:  '.;C:\Program Files (x86)\Java\jdk1.7.0_03\bin' (sans quotes), as a new environment variable called CLASSPATH, and tried different versions of it to no result, (eg, without '.;', reversing the '\' to '/', etc).  If my mistake in windows is apparent to anyone, please advise me on how to correctly set this path, and I will return to windows.  

My apologies for the long post