Problem in compile server

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Problem in compile server

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Problem in compile server

Post by _DS_ »

Installed jdk version ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Problem in compile server

Post by MELERIX »

check if you have installed java jdk & jre, also check if you have JAVA_HOME variable defined possibly you missed this.
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Re: Problem in compile server

Post 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
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: Problem in compile server

Post 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. :)
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Re: Problem in compile server

Post by lucianobiff »

I use Java JDK 6 Update 14.

Screen:
http://img265.imageshack.us/img265/2443/javarunp.jpg
Image
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Problem in compile server

Post by _DS_ »

Remove 1.4.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
kotk
Posts: 99
Joined: Wed Jan 04, 2006 12:51 am

Re: Problem in compile server

Post 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.
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Re: Problem in compile server

Post by lucianobiff »

That is exactly.
I installed the JDK.
And configure the eclipse to use as compiler..
It worked perfectly.

Thx to all
:D
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Re: Problem in compile server

Post 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
KenshinX
Posts: 12
Joined: Fri Jun 12, 2009 6:19 am

Re: Problem in compile server

Post 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
lucianobiff
Posts: 21
Joined: Tue Mar 31, 2009 6:54 pm

Re: Problem in compile server

Post by lucianobiff »

:D :mrgreen:
Thxxxxx
Post Reply