Problem in compile server
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 21
- Joined: Tue Mar 31, 2009 6:54 pm
Problem in compile server
» 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
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
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Problem in compile server
Installed jdk version ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Problem in compile server
check if you have installed java jdk & jre, also check if you have JAVA_HOME variable defined possibly you missed this.
-
- Posts: 21
- Joined: Tue Mar 31, 2009 6:54 pm
Re: Problem in compile server
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

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

-
- Posts: 99
- Joined: Wed Jan 04, 2006 12:51 am
Re: Problem in compile server
Upgrade Java SDK to "Java JDK 6 Update 14", was at the top of the web page you linked to.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

-
- Posts: 21
- Joined: Tue Mar 31, 2009 6:54 pm
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Problem in compile server
Remove 1.4.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 99
- Joined: Wed Jan 04, 2006 12:51 am
Re: Problem in compile server
Based on the PATHs in your screen shot, the Java 1.6 installs are both JRE. You need to install the JDK to compile.
-
- Posts: 21
- Joined: Tue Mar 31, 2009 6:54 pm
Re: Problem in compile server
That is exactly.
I installed the JDK.
And configure the eclipse to use as compiler..
It worked perfectly.
Thx to all

I installed the JDK.
And configure the eclipse to use as compiler..
It worked perfectly.
Thx to all

-
- Posts: 21
- Joined: Tue Mar 31, 2009 6:54 pm
Re: Problem in compile server
Now another problem is happening.
When I start the server it displays the following error:
http://img524.imageshack.us/img524/6592/errol2j.jpg

server version: 3241
dp version: 6340
Thx for your attention
When I start the server it displays the following error:
http://img524.imageshack.us/img524/6592/errol2j.jpg

server version: 3241
dp version: 6340
Thx for your attention
-
- Posts: 12
- Joined: Fri Jun 12, 2009 6:19 am
Re: Problem in compile server
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
server version: 3241
dp version: 6340
Thx for your attention
get latest revision error is fix in l2jdp revsion: 6341