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 trialS S
1,079 PointsPlease help me to understand different operation done in work space from console,
I have not used console before so it is new way to run classes and methods from console is there any separate lecture to explain this please show me. the link.
1 Answer
Albert Reel
5,555 PointsThere is a console foundations course that can help you get more familiar with the linux console.
Try "java -cp src syntaxtest.NewClass".
That is, if you have a folder "src" which contains the subfolder (package) "syntaxtest" and the class "NewClass" is in "package syntaxtest", then the above command will work.
I found this in a post by Maerics and it might be worth reading.