Code:@echo off title Compiler javac *.java pause
|
my compiler looks like this
how i fix it?
@echo off
@TITLE Reality's Compiler
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.
:end
echo Finished!
pause
exit
Code:@echo off title Compiler javac *.java pause
Easy
i delete the reset ? only keep @echo off
title Compiler
javac *.java
pause
?
Yes, that's for the client, it is supposed to be for the client right?
If not tell me so I have one for the source.
is it not supposed to be linked to your current jdk?
like so...
@echo off
title Compiler
"C:\Program Files\Java\jdk1.7.0_05\bin\javac.exe" -d ./Classes/ ./*.java
pause
Depends, mine doesn't, does it work for you?
yea it works for me. I haven't tried with just the ....
@echo off
title Compiler
javac *.java
pause
Try it.
what i do ? i dont understand what to do
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |