Compliation failed: error CS1525: Unexpected symbol 'import'. Wha??
treehouse:~/workspace$ mcs TreeStory.java && mono TreeStory
TreeStory.java(1,0): error CS1525: Unexpected symbol `import'
Compilation failed: 1 error(s), 0 warnings
Any assistance would be highly appreciated :-) iWill
Jennifer NordellTreehouse Teacher
Hi there! I see you have some C# experience. And I could've told you that just by the error You've managed to mix up your compilers. You're trying to run Java through the monodevelop csharp compiler.
The command you should be using is:
javac TreeStory.java && java TreeStory
Try it again with the correct compiler!
Hope this helps!
Well of course I called out a C# compiler for my Java course! Oy! Jennifer got me on the straight in a professional and compassionate manner. You so R*O*C*K Ms. Nordell. This is the second 'my bad' in about 6 months, and I've been treated just so genuinely nice, makes me so glad I picked Treehouse from the list of providers out there. Well, today I should not be distracted by my consulting (Python and Ruby Selenium Webdriver scripts for a couple of QA pals) - at least I hope.
Thanks again Jennifer ;-)