Page 1 of 1

Problem in compile server

Posted: Fri Jun 26, 2009 10:43 pm
by lucianobiff
ยป Find Revision
L2J Revision 3236:
L2JDP Revision 6339:

I followed all the steps that guide:
http://www.l2jserver.com/trac/wiki/Eclipse

But when finished compiling it returns the following message:
Buildfile: C:\Documents and Settings\Biff\workspace\L2_GameServer\build.xml
clean:
[delete] Deleting directory C:\Documents and Settings\Biff\workspace\L2_GameServer\build
verifyRequirements:
init:
[mkdir] Created dir: C:\Documents and Settings\Biff\workspace\L2_GameServer\build
[mkdir] Created dir: C:\Documents and Settings\Biff\workspace\L2_GameServer\build\classes
[mkdir] Created dir: C:\Documents and Settings\Biff\workspace\L2_GameServer\build\dist
[mkdir] Created dir: C:\Documents and Settings\Biff\workspace\L2_GameServer\build\dist\login
[mkdir] Created dir: C:\Documents and Settings\Biff\workspace\L2_GameServer\build\dist\gameserver
version:
compile:
[javac] Compiling 1302 source files to C:\Documents and Settings\Biff\workspace\L2_GameServer\build\classes
[javac] javac: invalid target release: 1.6
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files
[javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options

BUILD FAILED
C:\Documents and Settings\Biff\workspace\L2_GameServer\build.xml:75: Compile failed; see the compiler error output for details.


Total time: 1 second



build.xml file shown this line as wrong:
<javac destdir="${build.classes}"
optimize="on"
debug="on"
source="1.6"
target="1.6"
nowarn="off">
<src path="${src}"/>
<classpath refid="classpath"/>
</javac>



Can someone help me fix this problem?
I use Win XP.
Thx

Re: Problem in compile server

Posted: Sat Jun 27, 2009 2:59 am
by _DS_
Installed jdk version ?

Re: Problem in compile server

Posted: Sat Jun 27, 2009 5:00 am
by MELERIX
check if you have installed java jdk & jre, also check if you have JAVA_HOME variable defined possibly you missed this.

Re: Problem in compile server

Posted: Sat Jun 27, 2009 1:38 pm
by lucianobiff
My Installations:

jre 6
j2sdk 1.4.2_19
Eclipse SDK 3.4.2
Subclipse 1.6.2
Subversion 1.6.3
JAVA_HOME = C:/j2sdk1.4.2_19

I use Win Xp with Service Pack 3.

Screen:
http://img23.imageshack.us/img23/862/eclipsecompile.jpg
Image

Re: Problem in compile server

Posted: Sat Jun 27, 2009 2:27 pm
by kotk
lucianobiff wrote:My Installations:

jre 6
j2sdk 1.4.2_19
Eclipse SDK 3.4.2
Subclipse 1.6.2
Subversion 1.6.3
JAVA_HOME = C:/j2sdk1.4.2_19
Upgrade Java SDK to "Java JDK 6 Update 14", was at the top of the web page you linked to. :)

Re: Problem in compile server

Posted: Sat Jun 27, 2009 3:06 pm
by lucianobiff
I use Java JDK 6 Update 14.

Screen:
http://img265.imageshack.us/img265/2443/javarunp.jpg
Image

Re: Problem in compile server

Posted: Sat Jun 27, 2009 3:46 pm
by _DS_
Remove 1.4.

Re: Problem in compile server

Posted: Sun Jun 28, 2009 3:55 am
by kotk
Based on the PATHs in your screen shot, the Java 1.6 installs are both JRE. You need to install the JDK to compile.

Re: Problem in compile server

Posted: Sun Jun 28, 2009 3:29 pm
by lucianobiff
That is exactly.
I installed the JDK.
And configure the eclipse to use as compiler..
It worked perfectly.

Thx to all
:D

Re: Problem in compile server

Posted: Sun Jun 28, 2009 4:47 pm
by lucianobiff
Now another problem is happening.
When I start the server it displays the following error:
http://img524.imageshack.us/img524/6592/errol2j.jpg
Image

server version: 3241
dp version: 6340

Thx for your attention

Re: Problem in compile server

Posted: Sun Jun 28, 2009 5:55 pm
by KenshinX
lucianobiff wrote:Now another problem is happening.
When I start the server it displays the following error:
http://img524.imageshack.us/img524/6592/errol2j.jpg
Image

server version: 3241
dp version: 6340

Thx for your attention

get latest revision error is fix in l2jdp revsion: 6341

Re: Problem in compile server

Posted: Sun Jun 28, 2009 8:05 pm
by lucianobiff
:D :mrgreen:
Thxxxxx