The order was given in the beginning of the lab, just take a closer look, and this is not a problem. But the question is why it needs the classpath to be set properly to compile source files. I thought classpath is needed only for running the code.
On Mar 11, 8:38 pm, jimmyjot <[email protected]> wrote: > I get the same behavior on my system. If I don't set a classpath in > the javac command, I get an error. If I include -cp . then it > compiles. How does javac search for the correct classpath; what > order, and what is the default? The answer to that may clear things > up. > > Thanks, > > Jim --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
