Yeah set your PATH variable to point to the jdk and logout. The operating system doesn't automatically know where the binaries for the jdk are so you have to tell it.
|
|
hi, when i try and compile it says
'javac' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
does anybody know how to fix this?:O

Yeah set your PATH variable to point to the jdk and logout. The operating system doesn't automatically know where the binaries for the jdk are so you have to tell it.
ty for replying, ngl im new to java and just trying to code for fun so i dont really know what that means lol ive tried some things and it now says this -
Compiling...
Unrecognized option: -d
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Finished.
Press any key to continue . . .
no clue what that means my compiler is this -
@[Only registered and activated users can see links. ] off
echo Compiling...
"C:/Program files/Java/jdk1.7.0_80/bin/java.exe" -cp lib/*; -d bin -sourcepath src src/*.java @[Only registered and activated users can see links. ] Finished.
pause
any help would be appreciated



Id recommend using eclipse, helps alot to learn and guides you if you make errors.
| « Extracting Models from my cache to get .dat file? | Matrix Base Trade Dupe Help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |