whats your error when you run it?
|
|
hi all im new to coding rsps, and i just need help with this compiler problem
@echo off
title Compiler
"C:\Program Files (x86)\Java\jdk1.7.0_4\bin\javac.exe" -cp . *.java
pause
whats your error when you run it?
the system cannot find the path specified.
press any key to continue . . .
im new thats why i need help
alright you can try change it to this: (dont forget to change ur java version)
@echo off
title Compiler
"C:\Program Files\Java\jdk1.7.0_4\bin\javac.exe" -cp . *.java
pause
if that doesnt work, change the compiler back to how it was earlier and set your environment variables, theres a tut for it on moparscape lol
It depends on what's your JDK version. Go on C disk, and check your Java folder, it has a name in there which is jdk****** . Then change the compiler path, to the correct one.
ok ive done my enviroment variables but its still not working
go to C:/Program Files/java and look ur jdk version u should see something like this :
jdk1.ur version.0_ur version
i have 7 update 4

Did you change the JDK from 1.6 something before you changed it to 1.7?
| « [General Q] Is It possible to... | Help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |