Page 4 of 8

Re: Error in eclipse

Posted: Sun Oct 17, 2010 3:22 pm
by KadeL
SolidSnake wrote:Me too but it compile without problems don't worry
ok...

I use..
Eclipse IDE for Java Developers
and http://subclipse.tigris.org/update_1.6.x

now start the server in localhost and it works fine, no error :wink:

Problems with compile

Posted: Sat Jul 30, 2011 3:44 pm
by ANTIKLAN
It was updated on July, 30th and assemblages beta in NetBeans 7.0 have ceased to be compiled gives out. Help please.

clean:
Deleting directory F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build
verifyRequirements:
init:
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build\classes
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build\dist
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build\dist\login
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build\dist\gameserver
Created dir: F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build\dist\tools
version:
F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA\build.xml:285: Execute failed:
java.io.IOException: Cannot run program "svnversion" (in directory "F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA"): CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
Caused by: java.io.IOException: CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:188)
at java.lang.ProcessImpl.start(ProcessImpl.java:132)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 22 more
ПОСТРОЕНИЕ ЗАВЕРШЕНО СО СБОЕМ (общее время: 0 секунд)

init:
version:
F:\NetBeansProjects\L2J_SERP\L2J_DataPack_BETA\build.xml:96: Execute failed:
java.io.IOException: Cannot run program "svnversion" (in directory "F:\NetBeansProjects\L2J_SERP\L2J_DataPack_BETA"): CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
Caused by: java.io.IOException: CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:188)
at java.lang.ProcessImpl.start(ProcessImpl.java:132)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 22 more
ПОСТРОЕНИЕ ЗАВЕРШЕНО СО СБОЕМ (общее время: 0 секунд)

Re: Problems with compile

Posted: Sat Jul 30, 2011 3:46 pm
by Kane Hart
Can't help you there on netbeans on your language. But I can suggest if your using the trunk that it's now java 1.7 support needed.

Re: Problems with compile

Posted: Sat Jul 30, 2011 10:37 pm
by MrPeterDrucker
I can't help you. :? :? :?

Re: Problems with compile

Posted: Sun Jul 31, 2011 3:43 am
by tukune
antiklan wrote:java.io.IOException: Cannot run program "svnversion" (in directory "F:\NetBeansProjects\L2J_SERP\L2J_Server_BETA"): CreateProcess error=2, Íå óäàåòñÿ íàéòè óêàçàííûé ôàéë
need install "SlikSVN"

see http://trac.l2jserver.com/wiki/Eclipse

Re: Problems with compile

Posted: Sun Jul 31, 2011 10:42 am
by ANTIKLAN
Simply at me the plug-in subversion in NetBeans is established and before transition on java 7 all worked well.

Tell and at present I can compile assemblage on java 6 or already wasn't present?

Re: Problems with compile

Posted: Sun Jul 31, 2011 12:31 pm
by ANTIKLAN
Thanks all! Installation SlikSVN has helped!

i can't compile :(

Posted: Wed Aug 31, 2011 8:16 pm
by playstation
hello! i have a big problem with eclipse compile :(
plz help me! how can i make solve?

sorry bad english :((
------------------------------------------------------------------------------------------------------------------------------
Buildfile: C:\HighFiveProject\L2J_Server_BETA\build.xml
clean:
checkRequirements:
getChangelogDateVersion:

BUILD FAILED
C:\HighFiveProject\L2J_Server_BETA\build.xml:198: Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, ??d?? Æ???; ?; ¼? ¾ø

Total time: 483 milliseconds
-----------------------------------------------------------------------------------------------------------------------------




If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Re: i can't compile :(

Posted: Wed Aug 31, 2011 8:21 pm
by MELERIX
is because you forgot to install "subversion", read the guides: viewtopic.php?f=2&t=10719

[HELP]Problem with eclipse and java

Posted: Sat Sep 03, 2011 9:04 am
by charlie93
I was using Eclipse 3.5.2 when i tried to make a CT 2.3 server and java 6 with no problems

Now i tried to make a Freya with same versions and of course i had problems with ant version and java.
I downloaded latest versions of eclipse(3.7) and java( 7 ) but i still take this message when i am trying to compile:

BUILD FAILED
C:\Workspace\L2J_Server\build.xml:141: Java 1.7 is required. But your version is Java 1.6 and probably JDK is not installed.

i installed java and fixed the Preferences of JREs to JDK 1.70 but nothing changed

if any details are missing plz inform me to put them in my post for your ease

Thank you in advance
SOLVED

new problem
the next line of build.xml

Code: Select all

<target name="getChangelogDateVersion" description="Get Changelog, Datem Version">        <exec dir="." executable="svn" outputproperty="l2j.changelog">            <arg value="log" />
gives me this error

BUILD FAILED
C:\Workspace\L2J_Server\build.xml:145: Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, Äåí åßíáé äõíáôÞ ç åýñåóç ôïõ êáèïñéóìÝíïõ áñ÷åßïõ áðü ôï óýóôçìá

Re: Problem with eclipse and java

Posted: Sat Sep 03, 2011 9:33 am
by jurchiks
anything in branches apart from BETA does not use JDK7.
So yeah, nice problem - if you want to have 2 chronicles, you need to install 2 JDKs and 2 eclipses.

Re: Problem with eclipse and java

Posted: Sat Sep 03, 2011 9:47 am
by charlie93
thats something i forgot to mention.. I dont run 2 servers.. I deleted everything that had to do with the old server.!

Also my DP vers:8329
Server vers:4882

Re: Problem with eclipse and java

Posted: Sat Sep 03, 2011 12:02 pm
by Zoey76
jurchiks wrote:anything in branches apart from BETA does not use JDK7.
So yeah, nice problem - if you want to have 2 chronicles, you need to install 2 JDKs and 2 eclipses.
I can compile Interlude core and the rest of the new chronicles on eclipse 3.7.1 using JDK1.7.

Re: Problem with eclipse and java

Posted: Sat Sep 03, 2011 12:04 pm
by Starter
Zoey76 wrote:
jurchiks wrote:anything in branches apart from BETA does not use JDK7.
So yeah, nice problem - if you want to have 2 chronicles, you need to install 2 JDKs and 2 eclipses.
I can compile Interlude core and the rest of the new chronicles on eclipse 3.7.1 using JDK1.7.
eclipse 3.7.1? From where? oO

Re: Problem with eclipse and java

Posted: Sat Sep 03, 2011 12:36 pm
by Nyaran
You can download eclipse 3.7.1 form here