PDA

View Full Version : [517]Fixing build on my client[517]



Toiletbreaker
June 26th, 2010, 12:46
I need help fixing the build.bat on my client.

So far I've got it like this:

@echo off
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" -cp ./bin/ ./src/*.java
pause

and it works perfectly for me.

However, I've sent the client to my friend for him to test it and, when he clicks on build, it says it can't find the specified path.

I don't know how to fix this. If someone could help me, I'd be very grateful.
And yes, I'm the one hosting the server.



What can I do to make this work for most players?

dennis
June 26th, 2010, 13:01
@echo off
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" -cp ./bin/ ./src/*.java
pause

he most likely needs to change that to his javac.exe location.

Toiletbreaker
June 26th, 2010, 13:37
But what can I do/change to make this work for most players?

`Mr Steve
June 26th, 2010, 18:31
Why do you want people to compile your client? You can just compile before you upload it and it should work just fine.