Ok i hope some one can help me please. I used this guild here. https://github.com/L2J/L2J_Server/wiki/Setup-Eclipse In the Console output window i see this
Gradle Tasks: build
Working Directory: C:\Users\madma\git\L2J_Server
Gradle User Home: D:\MadMax765\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.6-rc-1
Java Home: C:\Program Files\Java\jre7
JVM Arguments: None
Program Arguments: None
Build in build/distributions/L2J_Server_2015-09-09.zip
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.536 secs
** this info is not in the Setup Eclipse https://github.com/L2J/L2J_Server/wiki/Setup-Eclipse not sure if its needed of not
I know my Aion runs ok witch is java based
I do have jdk1.7.0_15 installed and JAVE_HOME set C:\Program Files\Java\jdk1.7.0_15
tools.jar
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: tools.jar
You may have a JDK but your java home points to the wrong one :
Java_Home: C:\Program Files\Java\jre7
Java_Home: C:\Program Files\Java\jre7
-
- Posts: 4
- Joined: Fri Feb 13, 2015 11:36 pm
- Location: 3Rd. Rock from the Sun
Re: tools.jar
Thank you for reply but i do have java set right in environment variables.
So i don't under stand why its not fallowing the right path for. Run win 10 pro 64 bit
So where else might i look at ?? And thank you once again.
I do see in eclipse
in preferences/java/installed JRE's name jre7 and location set to c:\program files\java\jre7
should i add jdk under it ? or remove jre7 or add above it ?
So i don't under stand why its not fallowing the right path for. Run win 10 pro 64 bit
So where else might i look at ?? And thank you once again.
I do see in eclipse
in preferences/java/installed JRE's name jre7 and location set to c:\program files\java\jre7
should i add jdk under it ? or remove jre7 or add above it ?
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: tools.jar
It should point to jdk not jre I was pointing out the mistake
- Avanael92
- Advanced User
- Posts: 189
- Joined: Thu Aug 07, 2014 5:26 pm
- Location: Germany
Re: tools.jar
In Eclipse go to Window > Preferences > Java > Build Path > Classpath Variables
If JAVA_HOME doesn't exit, just define a new variable with the related path to JDK.
If JAVA_HOME doesn't exit, just define a new variable with the related path to JDK.
- volix
- Posts: 106
- Joined: Tue May 17, 2011 5:20 pm
Re: tools.jar
madmax765 wrote: Gradle Tasks: build
...
Java Home: C:\Program Files\Java\jre7
In summary - only JDK contains tools.jarSdw wrote:It should point to jdk not jre
-
- Posts: 4
- Joined: Fri Feb 13, 2015 11:36 pm
- Location: 3Rd. Rock from the Sun
Re: tools.jar
I have tried for last 6 hours.. changing one thing at a time and redoing the git pulls and all.. and it still gives me same error.. still showing it points to jre7 I have tried
And I tried to add it here
http://www.crypthome.com/jdk2.jpg
But still I am not doing some thing right... any more guesses on what I am doing wrong ?
http://www.crypthome.com/jdk1.jpgIn Eclipse go to Window > Preferences > Java > Build Path > Classpath Variables
If JAVA_HOME doesn't exit, just define a new variable with the related path to JDK.
And I tried to add it here
http://www.crypthome.com/jdk2.jpg
But still I am not doing some thing right... any more guesses on what I am doing wrong ?
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: tools.jar
Not minor detail, L2j needs JDK8...
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
-
- Posts: 4
- Joined: Fri Feb 13, 2015 11:36 pm
- Location: 3Rd. Rock from the Sun
Re: tools.jar
Thank You Zoey76
Just looking.. your the one that wrote the "Let's setup Eclipse" Grate job on it. Can you just add a few things to it ? like for java 8 down loads links
http://www.oracle.com/technetwork/java/ ... 33151.html
and how to set it. There no info on needing jdk 8 in the setup page
http://www.crypthome.com/jdk3.jpg
Working Directory: D:\Games Cores\L2J\L2J_Server
Gradle User Home: C:\Users\madma\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.6-rc-1
Java Home: C:\Program Files\Java\jdk1.8.0_60
JVM Arguments: None
Program Arguments: None
Build in build/distributions/L2J_Server_2015-09-10.zip
:clean UP-TO-DATE
:compileJava
:processResources UP-TO-DATE
:classes
:configuratorJar
:dbInstGsJar
:dbInstLsJar
:distTar UP-TO-DATE
:distZip UP-TO-DATE
:jar
:loginJar
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build
:zip
BUILD SUCCESSFUL
Total time: 22.21 secs
ok next step lol I got the client.. plus I got to figure where the files are now.. and what to do next... Now that I got the core compiled
Just looking.. your the one that wrote the "Let's setup Eclipse" Grate job on it. Can you just add a few things to it ? like for java 8 down loads links
http://www.oracle.com/technetwork/java/ ... 33151.html
and how to set it. There no info on needing jdk 8 in the setup page
http://www.crypthome.com/jdk3.jpg
Gradle Tasks: <run default tasks>Post by Zoey76 ยป Thu Sep 10, 2015 8:44 pm
Not minor detail, L2j needs JDK8...
Working Directory: D:\Games Cores\L2J\L2J_Server
Gradle User Home: C:\Users\madma\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.6-rc-1
Java Home: C:\Program Files\Java\jdk1.8.0_60
JVM Arguments: None
Program Arguments: None
Build in build/distributions/L2J_Server_2015-09-10.zip
:clean UP-TO-DATE
:compileJava
:processResources UP-TO-DATE
:classes
:configuratorJar
:dbInstGsJar
:dbInstLsJar
:distTar UP-TO-DATE
:distZip UP-TO-DATE
:jar
:loginJar
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build
:zip
BUILD SUCCESSFUL
Total time: 22.21 secs
ok next step lol I got the client.. plus I got to figure where the files are now.. and what to do next... Now that I got the core compiled