Computer Science Canada java program |
Author: | plastic.jesus [ Tue May 02, 2006 6:37 pm ] |
Post subject: | java program |
ok ppl wut do u use to run the code wuts the program name cuz they gave me some crappy ass program which is like prehistoric and it doesn't even work properlly gives out errors. tell me the site where i can download the program or the name of the program thanks in advance |
Author: | wtd [ Tue May 02, 2006 6:40 pm ] |
Post subject: | |
http://java.sun.com |
Author: | Krabjuice [ Tue May 02, 2006 7:44 pm ] |
Post subject: | |
Do note: When it comes to coding, alot of the errors are yours. Otherwise, be more specific. Personally, I recomend JCreator. |
Author: | plastic.jesus [ Tue May 02, 2006 9:34 pm ] |
Post subject: | |
ok this is what i get when i compile the code heres just the link http://i83.photobucket.com/albums/j310/cartmanspig/compileerror.jpg can any1 tell me wut im doing wrong? i try to compile the code i got from this site posted by a user can't remmember who thanks in advance p.s. srry 4 the small pic |
Author: | wtd [ Tue May 02, 2006 9:35 pm ] |
Post subject: | |
And we are supposed to be able to read this how? Just post your code in text form, and copy and paste the error message. |
Author: | plastic.jesus [ Tue May 02, 2006 9:40 pm ] |
Post subject: | |
ok srry for the previous small pic post here is the error message: javac: invalid argument: C:\Documents Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -O Optimize; may hinder debugging or enlarge class file -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -target <release> Generate class files for specific VM version the code i use can be found here http://www.compsci.ca/v2/viewtopic.php?t=11620 thanks in advance |
Author: | wtd [ Tue May 02, 2006 9:46 pm ] | ||
Post subject: | |||
This doesn't have anything to do with Java. When the compiler is invoked, it has to be told where to look for the source. When the compiler is invoked, the shell's syntax uses spaces to separate arguments. If you have:
Then it sees "C:\Documents", "and", and "Settings\Blah" as separate arguments. To solve this, you must surround paths with spaces with quotes. |