PDA

View Full Version : 317 Client Compiler (A MUST READ)



tlozoot
June 25th, 2010, 17:32
Only the registered members can see the link.

:confused::confused:

Fire cape
June 25th, 2010, 17:38
Non packaged client:


@echo off
title Your compiler.
javac *.java
pause

Packaged client (src/bin)

@echo off
title Your compiler.
cd src
javac -cp . -d ../bin/ ./*java
pause

tlozoot
June 25th, 2010, 17:43
And what do you mean by non packaged and packaged?

Perlisos
June 25th, 2010, 17:48
packaged = there is a source file and a bin file like Emulous

non-packaged = all just in a folder.

tlozoot
June 25th, 2010, 17:48
None of them worked D:

Malik
June 25th, 2010, 18:26
Replace all the characters in your compile file with this:


@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" Only the registered members can see the link.
:end
echo Finished!
pause
exit

Oh yeh and no need to like Max size your words...We can read...Hopefully.

tlozoot
June 25th, 2010, 21:40
Haha well i feel it's better in HUGE :)