SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Ulf Dittmer wrote:I think we could sort that out quickly if you told us, precisely, how you are trying to compile - the commands you enter, the response you get, etc.
Anything with a space in it most likely needs to be contained in double quotes, lest it gets misinterpreted. If you're not entirely comfortable with the command line, it would be easier to use a directory name that doesn't contain spaces.
Ulf Dittmer wrote:In programming you need to pay attention to detail. There's a space character between the "." and "party".
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Garrett Rowe wrote:That's the problem. There is a space in Ulf and Campbell's example, but there is no space in your command. The command should look like this:
java -classpath . party
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Don't get me started about those stupid light bulbs. |