Is your compiler not working? Try here for the answer!
Well, I started this because up until about 3 days ago, the basic compile batch didn't work for me. So anyway, there are 4 ways to compile your private server, and I will include them all here.
The Basic Compiler:
Code:
@echo off
title <YourServer> Compiler
echo <YourServer> is compiling...
javac *.java
pause
The Simple Compiler: If the Basic Compiler doesn't work
Code:
@echo off
title <YourServer> Compiler
echo <YourServer> is compiling...
"C:\Program Files\Java\jdk1.6.0_02\bin\javac.exe" -cp . *.java
pause
Edit what is in bold to your JDK Version.
Compile And Run: Compiles your Server, then runs it
Code:
@echo off
title <YourServer> Compiler
echo <YourServer> is compiling...
"C:\Program Files\Java\jdk1.6.0_02\bin\javac.exe" -cp . *.java
echo Running <YourServer>...
"C:\Program Files\Java\jre1.6.0_02\bin/java.exe" server
pause
Mod Taharok's Perfect Compiler 2.0 Mod Taharok's compiler, I don't like it 
Code:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: ::
:: This Compiler is under no licenses and may ::
:: be distributed freely. ::
:: ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@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
Well, there you go.
Credits:
Mod Taharok, 20%, his compiler
Sex Machine, 80%, compiling this compiler thread (lol) and having a brain.