Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

KaLynn Hopkins
KaLynn Hopkins
38 Points

Syntax error The program is not compiling, everything is accurate. However, the "=" is lighting up red.

The = in line 6 is red, but everything else is typed accurately. I just opened the workspace, and it was presented to me that way.

2 Answers

Steven Parker
Steven Parker
231,269 Points

It compiles just fine for me. What command are you using to compile?

I think red might just be the normal color in the syntax for operators. It is also apparently the color for keywords like public and static.

KaLynn Hopkins
KaLynn Hopkins
38 Points

javac correct? I did exactly what he did

Steven Parker
Steven Parker
231,269 Points

Well, specifically :point_right: javac Introductions.java

KaLynn Hopkins
KaLynn Hopkins
38 Points

Ok, thank you. I assume that was the issue because I had a problem compiling for the next program. I didn’t know where the error was where it said control, so I figured it was that.