"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Al Fraelich wrote:... DON'T java HelloWorld.class
DO java HelloWorld...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
SCJP6.0,My blog Ranchers from Delhi
Shanky Sohar wrote:i think if he is using a windows then it(dot) will automatically get added.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
marc weber wrote:
Shanky Sohar wrote:i think if he is using a windows then it(dot) will automatically get added.
Regardless of OS, the current directory is Java's default to look for classes, unless a classpath is explicitly set. So if no classpath is set, then it's automatic. But a common mistake is to set a classpath (which is often a mistake in itself) and not include the dot.
SCJP6.0,My blog Ranchers from Delhi
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Shanky Sohar wrote:
marc weber wrote:
Shanky Sohar wrote:i think if he is using a windows then it(dot) will automatically get added.
Regardless of OS, the current directory is Java's default to look for classes, unless a classpath is explicitly set. So if no classpath is set, then it's automatic. But a common mistake is to set a classpath (which is often a mistake in itself) and not include the dot.
but for linux, i think this doesnot happen..we have to explicitly give the current directly as (dot)
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |