Replace the # with your JDK version.Code:@echo off "C:/Program Files/Java/jdk1.6.0_#/bin/javac.exe" *.java pause
If you have set your environmental variables, this should work for you.
Code:@echo off javac *.java pause
|
when i click compile it says it compile everthing when i run my source and log on nothing is changed.
how do i fix my compiler?
Code of compiler.
My run is outside the files btw.Code:@echo off if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error) :compile for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe") if defined p (%p% -cp . *.java) if defined p (goto end) :error echo You do not have Java installed. Please download it at the site that is about to load. "%programfiles%\Internet Explorer\iexplore.exe" http://java.sun.com/javase/downloads/index.jsp :end echo Finished! pause exit
Thanks.
Replace the # with your JDK version.Code:@echo off "C:/Program Files/Java/jdk1.6.0_#/bin/javac.exe" *.java pause
If you have set your environmental variables, this should work for you.
Code:@echo off javac *.java pause
copy that into my compile compile it and it still dont change anything.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |