Sounds like your path needs to be set correctly. On Windows 98 etc go into the autoexec.bat file. On Windows 2000, right click "My Computer", then click "Properties", then choose the "Advanced" tab, finally click "Environment Variables". "Path" is one of the variables under "System Variables". Edit it to include the path to your jds. For example: c:\winnt\system32;c:\j2sdk1.4.2_04\bin; (make sure to included \bin, not just the j2sdk root directory). Once the path is set correctly you should be able to type c:\javac and have the option/help listing come up automatically. You should also set the "classpath" variable to include the current directory ("."). The classpath is included in the "System Variables" where "Path" is.
hi iam preparing for scwcd. i was tring to download software from sun site. help suggest me the right one. 1) iam already having jdk1.2.1 on my system(if u want me to dowmload any latest pls suggest me the right webpage) 2) i downloaded & installed j2sdk1.4.2_04 from sun's site. 3) i didnot set any path....but on C:when i type java-version i can get "java version 1.2.1" but when i tried typing javac -help iam getting a error msg.
does that mean i dont installed a compiler. i tried typing "javac -help" at c:\jdk1.2.1 also.
i didnt installed tomcat yet may be i need more help from u guys again.