My question is why do i have to type every time javac TreeStory.java && java TreeStory?? In eclipse there is play button
DId I miss something ??
javac compiles your code, while java runs the compiled code, in eclipse the play button is just a shortcut that performs both of these function for you automatically.
Alexander NikiforovJava Web Development Techdegree Graduate 22,139 Points
Embrace the power of writing scripts in Bash and/or aliasing ( environment of Terminal where you type :))
Check my answer here, put all nice stuff there :)