Page 1 of 1

Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 7:17 pm
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.

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 7:22 pm
by jurchiks
The environment variable JAVA_HOME should point to "C:\Program Files (x86)\Java\jdk1.7.0".

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 8:13 pm
by UnAfraid
You must restart eclipse after you change it to take effect.

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 8:43 pm
by cheatax21
How do i set where java_home is pointing?

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 8:56 pm
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.

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 10:43 pm
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.

Re: Issue following the video for eclipse and SVN

Posted: Tue Apr 23, 2013 11:56 pm
by cheatax21
Thanks everyone for fast response, did as you said and it was solved. :)