Build failed The same thing :s Adv Reply May 10th, 2012 #6 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crème Ubuntu Join Date May 2007 Location I have had this issue before after I tried to move from open JDK to Suns JDK. Faq Reply With Quote November 22nd, 2010,11:48 AM #12 No Profile Picture Iguess View Profile View Forum Posts Registered User Devshed Newbie (0 - 499 posts) Join Date This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'sun-java6-jdk' has no installation candidate So, i can't really fix this this contact form
Thank you :) –HasanAboShally Sep 25 '13 at 15:48 Yup - this worked for me too. –PhillipKregg Apr 10 '14 at 14:34 1 Is there a reason why Or is this warning about something different? This may affect the ability to use various tasks. Do you want to help us debug the posting issues ? < is the place to report it, thanks ! http://stackoverflow.com/questions/2618281/ant-error-when-trying-to-build-file-cant-find-tools-jar
vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Which requires more energy: walking 1 km or cycling 1 km at the same speed? The first two times I installed Ant, I had to remove the commands that checked for the existence of my JAVA_HOME because they were screwy. What have you tried? –Ondrej Kvasnovsky Feb 4 '12 at 19:05 I tried all of those, with no success –john Feb 16 '12 at 20:59 add a comment| up
Join Date Apr 2008 Location Portugal Beans 59 DistroLubuntu 12.04 Precise Pangolin Re: Ant cant locate tools.jar I installed it but I still have the same problem: Code: AB9:~$ ant Unable At the start I am blaringly obvious Password Validation in Python WiringPi: change output of GPIO pins synchronously? Add two new user variables "ANT_HOME" and "JAVA_HOME" with their respective values. Tools.jar Download For Jre7 Download I already look thru this forum and find a solution that did not work for me.
Put 'C:\Program Files (x86)\Java\jdk1.7.0_02\bin' or 'C:\Program Files\Java\jdk1.7.0_02' as the first argument in the path. Tools.jar Download For Jre7 mysql55 spontaneous malfunction Modern solders carry axe instead of combat knife. According to Protestants following the Reformation, what did Jesus mean when he said "do this and you will live"? http://stackoverflow.com/questions/6676107/unable-to-locate-tools-jar share|improve this answer answered May 21 '13 at 17:57 James Lawruk 15.2k128694 3 JAVA_HOME variable fixed everything, thanks a lot :) –krinn Jan 16 '14 at 18:10 4 PATH
I set JAVA_HOME as C:\j2sdk1.4.1_02 and ANT_HOME as C:\apache-ant-1.6.1. Unable To Locate Tools.jar Ubuntu Proper solution?0Error: Unable to locate tools.jar Hot Network Questions At the start I am blaringly obvious How can I easily find structures in Minecraft? Ant is still trying to find tools.jar in C:\Program Files\Java\jre6\lib folder. Translate in-line equations to TeX code (Any Package?) Dennis number 2.0 Convince people not to share their password with trusted others Which requires more energy: walking 1 km or cycling 1
facebook google twitter rss Free Web Developer Tools Advanced Search Forum Programming Languages Java Help Ant unable to locate tools.jar and setting environmental variables Thread: Ant unable to locate tools.jar here Change the JAVA_HOME environment variable to point to a JDK and ANT will work. Ant Unable To Locate Tools.jar. Expected To Find It In I am using winXP by the way. Unable To Locate Tools.jar Linux asked 4 years ago viewed 4525 times active 4 years ago Linked 38 Ant error when trying to build file, can't find tools.jar?
Go to the Oracle JDK Download Page and download the 32-bit JDK installer (I have encountered problems with the 64-bit version in the past which may or may not have been weblink Is my workplace warning for texting my boss's private phone at night justified? Expected to find it in C:\Program Files\Java\j2re1.4._02\lib\tools.jar." Assuming you didn't mis-type this error message, it looks like JAVA_HOME is trying to access a non-existent directory called "j2re1.4._02" The fact that you All your ant stuff will work fine with the exception of the javac task which needs the tool.jar Either use : Window > Preferences > Ant > Runtime > Classpath and Tools.jar Download For Jre 8
I have followed all the instruction correctly. Although, the JDK installer gave me a directory structure like this: Directory of C:\Program Files\Java 05/08/2012 09:43 AM
If there are multiple entries for various java installations, the first one in your PATH will be used. Build.xml Does Not Exist Ant asked 5 years ago viewed 161457 times active today Linked 58 Unable to locate tools.jar 41 “Unable to locate tools.jar” when running ant 11 Why is ant looking for tools.jar in Did Donald Trump call Alicia Machado "Miss Piggy" and "Miss Housekeeping"?
In order to do this change, I had to go to Window -> Preferences -> Ant -> Runtime -> Classpath and then change the Ant Home to the home directory of Build failed So that it was searching the tools.jar directory in the lib of the jre6 but the file was located into the the jdk directory. Before it was like this: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Users\Rajkaran\AppData\Local\Smartbar\Application\;C:\Users\Rajkaran\AppData\Local\Smartbar\Application\;C:\Program Files\doxygen\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin So I made it like this: %JAVA_HOME%\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Tools.jar Not Found Java 8 PATH is set with %JAVA_HOME%\bin; %ANT_HOME%\bin.
lol Originally Posted by StevenC Thread necromancy is bad mmkay? Let's also try this: Code: update-alternatives --get-selections | grep ^java Last edited by r-senior; May 10th, 2012 at 08:09 PM. Subtraction with negative result I lost my jury summons, what can I do? http://dukesoftwaresolutions.com/unable-to/error-unable-to-find-splash-resources-hatasÄ±.html Expected to find it in C:\Program Files\Java\j2re1.4._02\lib\tools.jar." Assume Ant is installed in c:\ant\.
Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar2Ant: not able to find tools.jar3“Unable to locate tools.jar” while the environment variables are correct1unable to locate tools.jar. While I was using the correct JDK, I paid attention to the path of the tools jar maven complained about - it was expecting it to be $JAVA_HOME\..\lib\tools.jar The $JAVA_HOME variable Code: sudo apt-get remove openjdk-6-* Or, if you want to keep JDK 6 -- I can't think why anyone would -- this should do it (but I can't test it on Adv Reply May 10th, 2012 #8 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crème Ubuntu Join Date May 2007 Location Leeds, UK Beans 1,664 DistroUbuntu 13.10
Adv Reply May 11th, 2012 #10 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crème Ubuntu Join Date May 2007 Location Leeds, UK Beans 1,664 DistroUbuntu 13.10 Please click the link in the confirmation email to activate your subscription. Last edited by Flame_Phoenix; May 11th, 2012 at 11:49 AM. Select the "advanced" tab and click on "environment variables".
current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.