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 Data Structures Organizing Data Serialization

serialver in IDE results in: Class com.teamtreehouse.Treet not found.

While reviewing this material using the intelij IDE I tried to use the command "serialver com.teamtreehouse.Treet". I get the error "Class Treet not found.". I tried this using all the directories possible (Workspace, src, com, com/teamtreehouse, com.teamtreehouse, etc...)

How can I replicate the serialver outside the treehouse IDE?

1 Answer

Carlo Fabrizio Silva Toro
Carlo Fabrizio Silva Toro
12,260 Points

I used "serialver -classpath .class com.teamtreehouse.Treet", where ".class" is the folder where I output my .class files when I run javac ("javac -d .class src\Example.java com\teamtreehouse\Treet.java com\teamtreehouse\Treets.java"), and it worked just fine