Issue following the video for eclipse and SVN

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

Issue following the video for eclipse and SVN

Post by cheatax21 »

Hello everyone, I face a problem while following the instructions of the video in main page, for eclipse and SVN.

I downloaded the required, im in the 5:48 time of the video, in which after I add the SVN and i try to Build build.xml, (run as ant 1 ) i have the following:

Code: Select all

Buildfile: C:\workspace\L2J_Server_BETA\build.xmlcheckRequirements:getChangelogDateVersion:init:   [delete] Deleting directory C:\workspace\L2J_Server_BETA\build\bin    [mkdir] Created dir: C:\workspace\L2J_Server_BETA\build\bindist:     [sync] Removed 2 dangling files from C:\workspace\L2J_Server_BETA\build\distcompile: BUILD FAILEDC:\workspace\L2J_Server_BETA\build.xml:64: 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\jre7" Total time: 9 seconds
It says that java_home doesnt point to the JDK, How should I proceed?
Thanks for your time and assistance in advance
P.S. Im trying to make this with remote control in a server, Windows server 2012 OS, if it plays any roll in the issue.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Issue following the video for eclipse and SVN

Post by jurchiks »

The environment variable JAVA_HOME should point to "C:\Program Files (x86)\Java\jdk1.7.0".
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Issue following the video for eclipse and SVN

Post by UnAfraid »

You must restart eclipse after you change it to take effect.
Image
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Issue following the video for eclipse and SVN

Post by cheatax21 »

How do i set where java_home is pointing?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Issue following the video for eclipse and SVN

Post by jurchiks »

http://wso2.org/project/wsas/java/2.0/d ... -home.html
The only difference between WinXP and Win7 is that in the Properties window you need to click "Advanced system settings" on the left pane.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Issue following the video for eclipse and SVN

Post by Zoey76 »

cheatax21 wrote:How do i set where java_home is pointing?
In the description of the video there was a link to: https://gist.github.com/Zoey76/5328604

There is the guide of the video.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
cheatax21
Posts: 115
Joined: Thu Aug 14, 2008 10:10 am

Re: Issue following the video for eclipse and SVN

Post by cheatax21 »

Thanks everyone for fast response, did as you said and it was solved. :)
Post Reply