
-----------------------------------
plastic.jesus
Tue May 02, 2006 6:37 pm

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   :twisted:

-----------------------------------
wtd
Tue May 02, 2006 6:40 pm


-----------------------------------
http://java.sun.com

-----------------------------------
Krabjuice
Tue May 02, 2006 7:44 pm


-----------------------------------
Do note: When it comes to coding, alot of the errors are yours.
Otherwise, be more specific.

Personally, I recomend JCreator.

-----------------------------------
plastic.jesus
Tue May 02, 2006 9:34 pm


-----------------------------------
ok this is what i get when i compile the code
http://i83.photobucket.com/albums/j310/cartmanspig/compileerror.jpg

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 :twisted:

p.s.
srry 4 the small pic  :shock:  :cry:

-----------------------------------
wtd
Tue May 02, 2006 9:35 pm


-----------------------------------
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.

-----------------------------------
plastic.jesus
Tue May 02, 2006 9:40 pm


-----------------------------------
ok srry for the previous small pic post here is the error message:

javac: invalid argument: C:\Documents
Usage: javac  
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          Specify where to find user class files
  -sourcepath         Specify where to find input source files
  -bootclasspath      Override location of bootstrap class files
  -extdirs            Override location of installed extensions
  -d             Specify where to place generated class files
  -encoding       Specify character encoding used by source files
  -target          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  :twisted:

-----------------------------------
wtd
Tue May 02, 2006 9:46 pm


-----------------------------------
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:

javac C:\Documents and Settings\Blah

Then it sees "C:\Documents", "and", and "Settings\Blah" as separate arguments.  To solve this, you must surround paths with spaces with quotes.
