PDA

View Full Version : 508 compiler 100 errors/wont compile



too easy
June 22nd, 2010, 16:04
well.. i tryed watchin millions of vids on youtube for help, also changing the jdk to mine, nothing. nothing is working i deleted the previos material in the old compiler to there changes and i got
javac:cannot find file *.java
i redownloaded, and changed jdk, it does find the file, but.... 100 errors in each section of the compiler here is the code for compiler, and this is probablly a simple fix but need help asap, thanks ;)

__________________________________________________ ________________________________

@echo off
@echo wait source compiling
cd ../src
echo Compiling my source for you now.
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/net/codec/*.java
echo Compiling net.com.espeon
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/*.java
echo Compiling net.com.espeon.model
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/model/*.java
echo Compiling net.com.espeon.model.update
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/model/update/*.java
echo Compiling net.com.espeon.model.items
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/model/items/*.java
echo Compiling net.com.espeon.model.misc
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/model/misc/*.java
echo Compiling net.com.espeon.model.combat
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/model/combat/*.java
echo Compiling net.com.espeon.io
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/io/*.java
echo Compiling net.com.espeon.io.packethandler
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/net/*.java
echo Compiling net.com.espeon.util
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/util/*.java
echo Compiling net.com.espeon.world.mapdata
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/world/mapdata/*.java
echo Compiling net.com.espeon.world.items
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/world/items/*.java
pause

__________________________________________________ ____________________________
thats the code there, but obvioslly some parts are supposed to be stung out onto 1 line, but yeah i get the lovely *100 errors when i compile* and since compiling updates your changes to you server, im getting nowhere =/

my pker pure
June 22nd, 2010, 16:05
That looks nothing like a compiler to me but i use 317/474 so i wouldn't actually know...

Musicmasta
June 22nd, 2010, 16:21
wtf do u have ur compiler in the form of a 562 compiler for unless it's a pali compiler hmmm idk pali compilers XD

too easy
June 22nd, 2010, 16:46
yeah i know a normal compiler works like this..

@echo off
"C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe" *.java
pause

but, when i put that in i get the lovely error of, javac: cannot find file *.java

its the way the servers set up with stupid shit, its bonescapes source.. if that helps anybody at all?

Klomp3
June 22nd, 2010, 16:49
Did you make it recognize the new jdk?

Sunni
June 22nd, 2010, 16:56
Please use code tags next time and try this code:



@echo off
title compile
cd ../CHANGE THIS TO YOUR SRC
echo Compiler is Compiling
"C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/FOLDER NAME HERE/*.java
pause


Although I don't believe it's a compile error.

too easy
June 22nd, 2010, 17:07
yeah idk.. lets give it a shot

i get this error The filename, directory name, or volume label syntax is incorrect.
Compiler is Compiling
The system cannot find the path specified.
Press any key to continue . . .

this is what the compiler now looks like

@echo off
title compile
cd ../src
echo Compiler is Compiling
"C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/*.java
pause

correctly fix this for me, i know, im stupid lol...

is this close lol =/ getting the error, cannot find specifed path

after my codeusa folder, there are still serveral other folders, and the engine/server java.file folder at the bottom.. so idk if this would help anybody to help my problem but.. after spending 6 hours on shitty fixes none work im pretty jacked off right now >.<

Sunni
June 22nd, 2010, 17:18
Well to look at the old compiler and the new on make sure you path is set correctly,



Program Files(x86)


Also make sure you folder is src and you net/com/codeusa make sure that is your source.

too easy
June 22nd, 2010, 17:24
yeah the folder is src , i go into the source and i have 3 options, src which has all the folders etc bin for the compiler/runserver andf build , src/com/codeusa that is the folder leading to all the files commands engive.java server.java so im guessing i put the sources name which would be...

BoneScape 508 Source - Frogs482 Release

is this the folder i'd put in place? im new to this and just trying to make sure everything is 100% correct.. getting pretty frustrated with this damn thing tbh =/

or should it look like..

C:\Users\Operator\Desktop\BoneScape 508 Source - Frogs482 Release

Sunni
June 22nd, 2010, 17:28
You place the file, or the compiler since it's linking to the src folder where all the folders are.They may be name bin, src, etc..

too easy
June 22nd, 2010, 17:29
i think i should have this part here in a different order so its from forward-end

"C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/C:\Users\Operator\Desktop\BoneScape 508 Source/*.java

does this need to be in a different order or somthing for it to work haha, i have no idea?

Sunni
June 22nd, 2010, 17:31
@echo off
title compile
cd ../src
echo Compiler is Compiling
"C:\Program Files(x86)\Java\jdk1.6.0_20\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/*.java
pause


Like I said, Place the compiler with the other folder or make a folder name build or bin and place it in there.Also wherever your run is you can place it in there possibly.

too easy
June 22nd, 2010, 17:32
do you have team viewer, im sure this would make it 300x easier.

Sunni
June 22nd, 2010, 17:33
Yes, I do, Add me on MSN?

too easy
June 22nd, 2010, 17:35
yea dude im fucking lost and your the pro so you can do it ;p

ms name tento0ne@live.com

Sunni
June 22nd, 2010, 17:35
Haha, yea just add me on MSN or send me a PM with the TV info.

TehCow
June 22nd, 2010, 17:58
Maybe you get 100 errors because one } or { isnt placed right.