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 Java Annotations Using Java's Built-In Annotations Using the Directory and Xlint Options in the Command Line

issue with the -xlint command

I'm dealing with an problem in one of the quizzes that is in the Spring annotation course, where I need to use the -Xlint -d out command. I tried this command in several ways and also I rewatched the video several times but I couldn't find the way to pass this quiz.

did I miss something?

1 Answer

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

If you are talking about this quiz

Fill in the blanks with the correct option and value to be used so that the Java compiler will place all .class files in the 'out' directory: javac _ _ -cp src src/com/teamtreehouse/quiz/Ace.java

Then you have to pass just -d and out without Xlint.

javac -d out -cp src src/com/teamtreehouse/quiz/Ace.java

Otherwise please clarify which quiz question it is about ?

Thanks!