This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i was using 'sun one studio' to compile. how do i find out which version from that? but i also tried to (c:\jdk1.3.1_07\bin\java-version) and got an error message 'bad command or file name'. i am using window 98. thanks again. yuan
Joined: Aug 03, 2002
Well, it looks like you should have 1.3.1_07. To confirm, go into a DOS command window and type: java -version ( that's a space after java ). If the java command cannot be found you can add "set PATH=c:\jdk1.3.1_07\bin;%PATH%" to your AUTOEXEC.BAT file and reboot. Don't put the quotes in. Copy your source code to a directory like c:\temp, change into it, and compile the files outside the SunOne IDE. If that works we know where the real problem lies. [ March 13, 2003: Message edited by: Barry Gaunt ]