Teen Programmers Unite  
 

 

Return to forum top

java

Posted by crisstm [send private reply] at April 21, 2002, 08:03:38 PM

i need to now first time how to compile with java sdk1.2

Posted by taubz [send private reply] at April 21, 2002, 09:07:05 PM

The name of the compiler is javac, so if you're running it from the command line (DOS or whatever), you run "javac filename.java".

Posted by Psion [send private reply] at April 21, 2002, 09:11:21 PM

And Sun's lovely Java Tutorial can probably help you out with anything else you need to know.

Posted by CodeRed [send private reply] at April 21, 2002, 09:24:08 PM

After you compile succesfully, you can run the program by typing "java filename" the .class extension is not needed

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.