set javaLocation=C:\j2sdk1.4.2_08 REM Delete any existing classes that might be there del com\electrotank\electroserver\plugins\*.class REM Compile the plugins into classes %javaLocation%\bin\javac -classpath .;../../ElectroServer3.jar com/electrotank/electroserver/plugins/*.java REM Create the jar file from the classes %javaLocation%\bin\jar cf ESJavaPluginExampes.jar com/electrotank/electroserver/plugins/*.class pause