PDA

View Full Version : I cant run or compile my 508 server and cant run my 508 client !



Xdragon
June 21st, 2010, 17:25
I get this error thing [ i think its a error] when i compile my server :


javac: file not found: *.java
Usage: javac <options> <source files>
use -help for a list of possible options
Finished!
Druk op een toets om door te gaan. . .

And i get this when i run : [ I taked a picture bc when i did it it comes and than goes ]

Only the registered members can see the link.

This is my Compiler code :

@echo off
@TITLE Basic Compiler
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.
:end
echo Finished!
pause
exit

This is my Run code

@echo off
color 81
title CasioScape
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server

My jdk version is 18 i think or 16

Can someone help me?

my pker pure
June 21st, 2010, 21:31
I don't really know 508 & higher but i would recommend getting the latest version of JDK then finding a working client and steal the coding from there :P

Spear
June 21st, 2010, 21:35
@echo off
title
cd ../build
"C:\Program Files\Java\jdk1.6.0_18\bin\java.exe" net/com/codeusa/Server 43594
pause

OR

@echo off
title
cd ../build
"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe" net/com/codeusa/Server 43594
pause

my pker pure
June 21st, 2010, 21:49
That is for the client?

Spear
June 21st, 2010, 21:52
No, to run your source.

my pker pure
June 21st, 2010, 21:59
Ohh its your source you need to run? well in that case seek better help cause i dont understand the running a server code.