What to do after compiling?

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
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

What to do after compiling?

Post by cheatax21 »

****EDIT****look at my last reply please



Hello everyone, i get this msg when i try to compile the server:

Code: Select all

Buildfile: C:\workstation1\L2_GameServer\build.xmlclean:   [delete] Deleting directory C:\workstation1\L2_GameServer\buildverifyRequirements:init:    [mkdir] Created dir: C:\workstation1\L2_GameServer\build    [mkdir] Created dir: C:\workstation1\L2_GameServer\build\classes    [mkdir] Created dir: C:\workstation1\L2_GameServer\build\dist    [mkdir] Created dir: C:\workstation1\L2_GameServer\build\dist\login    [mkdir] Created dir: C:\workstation1\L2_GameServer\build\dist\gameserverversion:     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, ??? ????? ?????? ? ?????? ??? ???????????? ??????? ??? ?? ???????compile:    [javac] Compiling 1360 source files to C:\workstation1\L2_GameServer\build\classes BUILD FAILEDC:\workstation1\L2_GameServer\build.xml:76: Unable to find a javac compiler;com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDK.It is currently set to "C:\Program Files\Java\jre6" Total time: 1 second 
I have installed sun sdk from the wiki as it said it is used to compile the server.
What should i do so i ll be able to compile it ?
Last edited by cheatax21 on Sun Dec 13, 2009 10:55 am, edited 1 time in total.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Compiling(Unable to find a javac compiler;)

Post by MELERIX »

Read the Eclipse guides again: viewforum.php?f=2

you forgot to install Subversion and JAVA_HOME variable.
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

i did download and installed them, but still nothing :S same msg. Should I install them with the eclipse as i did for the subclipse?
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

onether issue: when i try to log in it is on but with 9999 ping :S and cannot log in :S what could be wrong?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Compiling(Unable to find a javac compiler;)

Post by MELERIX »

cheatax21 wrote:i did download and installed them, but still nothing :S same msg. Should I install them with the eclipse as i did for the subclipse?
read the guide again, Subversion is a different thing, and is not the same that Subclipse.
cheatax21 wrote:onether issue: when i try to log in it is on but with 9999 ping :S and cannot log in :S what could be wrong?
check your firewall settings, or incorrect IP settings in the configs.
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

thanks , the 9999 ping fixed, but now whenever I create a character it is appeared as a "to be deleted" in about 12000 days... How to fix this? :S

Can you tell me how to install the subversion? I downloaded an exe and installed it..
In the wiki it says that windows users (im using window vista) need to download another file not subversion:S

what and how should i install ?
thx in advance
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Compiling(Unable to find a javac compiler;)

Post by janiii »

cheatax21 wrote:thanks , the 9999 ping fixed, but now whenever I create a character it is appeared as a "to be deleted" in about 12000 days... How to fix this? :S
use compatible client and server.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

thx janii.

i downloaded from gamershell a clean gracia final client, i copied to my desktop the l2.ini , renamed it to l2.exe and copied that to the system folder, however it could not run... i clicked checked files and it went to epilogue:S

can you post a link for a clean/working l2 gracia final client please?
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: Compiling(Unable to find a javac compiler;)

Post by Vapulabe »

l2.bin... but you should create a small wrapper program which execute it (instead of renaming it)... remind that client modding is illegal !!!
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

yes i know, figured it out^ thanks all for your help both matters solved :)
I hadn't done the step with the java home to look on the jdk :S

thanks again ^have fun
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

uhm, one last thing:

Now it says in the end: [zip] Building zip: C:\workstation1\L2_GameServer\build\L2J_Server.zip
BUILD SUCCESSFUL and without errors appearing.
and i found a new l2 gameserver.jar and one l2gameserver.rar and one build in C:\workstation1\L2_GameServer\build\
Which of these i copy to the gameserver directory? (the folder i run the server from)
In the wiki it says compile as normal, though the guide stops after the build is successfull. So this last part may be considered as obvius , but i m stucked at that:S Call me stupid ;p But i need help with this, I applied a patch voice command heal .--- Tell me if this is correct: I put the patch in C:\workstation1\L2_GameServer\java\net\sf\l2j\heal.java\ , and then i right click on gameserver/ team/apply patch/ browsed it/next/finish all good/ then build-run as-ant build 1- build successful. Now what i do so i have this patch in my server :S??
Thanks in advance all for your help:D
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: Compiling(Unable to find a javac compiler;)

Post by Vapulabe »

Looks like your Javahome is pointing to a JRE (Java Runtime environment) and not a JDK (Java Developper Kit).

Check that the JDK for J2SE is installed and if it is, make the JAVA_HOME point to it (and your PATH find JDK before JRE)
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Compiling(Unable to find a javac compiler;)

Post by cheatax21 »

Java_home does point to the JDK , the build is successfull no problem so far.
I just dont know what to do after the compile. How i see the changes in my live server?


I dont know if that makes any difference or is a problem but my server files are not the same as in the workspace.

its : C:\l2graciafinalserver
and C:\workstation1

what should i copy after the compile to my server so the patch i applied will work?
User avatar
Callisto
Posts: 39
Joined: Sun Sep 09, 2007 11:13 am
Location: Romania
Contact:

Re: What to do after compiling?

Post by Callisto »

The easiest way to get your eclipse to point to the JDK is to make a shortcut on the desktop of the eclipse, right click it, and in the Target field, after the location of eclipse type this : -vm "PATH_TO_JDK\bin"

Works like a charm everytime ^^
"Wise men talk because they have something to say; fools talk because they have to say something." -- Plato
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: What to do after compiling?

Post by cheatax21 »

This part is ok as i said... i need to know what i do after i compile...
I copy the .jar server to the gameserver ?
or i unzip the server.zip ??
thx
Post Reply