-
New Compiler + Run
credits 100% me just wipped up in acouple seconds(lol)
difficulty: 1/10
make a new file and call it compile + run.bat. Right click -> edit and paste this inside:
Code:
@echo off
COLOR 09
title Sempron compile + run
echo Compiling...
echo.
javac *.java
echo.
echo Compiling Complete... Starting Server
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
pause
you may need to replace
Code:
java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
with the line like that you get in run.bat/runeserver.bat
-
if it says javac is not recognized as an internal or external command?
-
I've already pretty much posted this just without it running the server too...
Oh, and sabor, that means you need to install JDK and stuff :)
-
i try to download the JDK. but when i open that box thingy that shows the download...nothing appears...so in effect i cant start the download. :(
-
Try both downloads. And let's not spam the thread, so PM me :)
-
well if u get it downloaded u also need to set ur enviroment variables and also this just compiles and then runs its not autorestarter and i dont even use it so if ur a good java programmer u can forget about this its for the beginners to learn how things work.