The last post of the thread says that I should change the $HOME/.bashrc file, but since I don't have sun-java6-jdk and since it seems to be discontinued I don't think it's It works nice. Can a plan "age" reach zero? The two directories should be identical. this contact form
Also Tomcat was giving me this error "No Java compiler was found to compile the generated source for the JSP. Why are some programming languages turing complete but lack some abilities of other languages? you think I should remove the jre ? –Wassim AZIRAR Jul 13 '11 at 8:35 2 In a word ... share|improve this answer answered Feb 2 '12 at 20:30 Ondrej Kvasnovsky 2,19121230 It might be good to give a reflection on my answer. http://stackoverflow.com/questions/6676107/unable-to-locate-tools-jar
Join them; it only takes a minute: Sign up Ant: not able to find tools.jar up vote 2 down vote favorite when I type Ant in command line.. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: build.xml does not exist! Why are some programming languages turing complete but lack some abilities of other languages? up vote 38 down vote favorite 7 When I run ant it says: Unable to locate tools.jar.
Why? C:\Program Files\Java\jdk1.7.0_02 C:\Program Files (x86)\Java\jdk1.7.0_02\ This may be due to both 64 bit and 32 bit JDK installed? Dirac delta function and correlation functions Should I use "Search" or "Find” on my buttons? "the chemical and physical changes it undergoes" -- What does the clause in the end indicate? Why can a Gnome grapple a Goliath?
share|improve this answer answered Apr 20 '11 at 13:14 John Kane 3,30811029 add a comment| up vote 0 down vote maven-compiler-plugin use jdk ,not jre, tools.jar is in C:\Program Files\Java\jdk1.6.0\lib\tools.jar you Expected to find it in /usr/lib/jvm/java-6-sun-18.104.22.168/lib/tools.jar Related 17Ant + Vista 64 : “Unable to locate tools.jar” (jre/jdk conflict?)117Unable to locate tools.jar2build.xml expects tools.jar at a different location5m2eclipse is unable to locate share|improve this answer answered May 9 '12 at 16:00 Blake Mitchell 1,1901213 6 this. http://stackoverflow.com/questions/2618281/ant-error-when-trying-to-build-file-cant-find-tools-jar Be sure to use different folders during the install.
I want to implement uiautomator Tests and need to build my build.xml with ant, but get this strange error. share|improve this answer answered Dec 28 '13 at 7:29 living.li 1 add a comment| up vote 0 down vote You may face similar problem on Ubuntu: Embedded error: tools.jar not found: share|improve this answer answered Apr 20 '11 at 13:10 duffymo 232k22263446 3 @olidev checking this now but still can't stop pointing out the issue!! Copy the tools.jar in the expected folder...
share|improve this answer answered Jan 25 '13 at 1:33 Zorayr 10.2k16674 Worked in my case –Rohit Mar 1 '13 at 20:53 1 not working in my case i http://stackoverflow.com/questions/24424481/unable-to-locate-tools-jar-by-ant-command-java-home-and-path-is-set-for-jdk-inst This solved my problem. I am glad to find this forum after a hard search. In my case it was C:\Program Files\Java\jdk1.6.0_45\bin\java.exe share|improve this answer edited Jan 28 '14 at 5:38 Avi Turner 5,67442354 answered Jan 28 '14 at 5:20 user3243105 212 add a comment| up
Is my workplace warning for texting my boss's private phone at night justified? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Any ideas why? Join them; it only takes a minute: Sign up Unable to locate tools.jar up vote 117 down vote favorite 14 I am building a project programmed in Java.
YES. –Stephen C Jul 13 '11 at 8:37 3 I would even suggest removing all of Java installs on your dev machine except for single JDK you will be using Do I need to cite an old theorem, if I've strengthened it, wrote my own theorem statement, with a different proof? Did you already have openjdk-6 installed? In Environment variable->System variables , I have defined: JAVA_HOME: C:\Program Files\Java\jdk1.8.0_31; ANT_HOME: ant path And in the PATH included C:\Program Files\Java\jdk1.8.0_31\bin; and ant bin path also.
If those answers do not fully address your question, please ask a new question. Do I need to cite an old theorem, if I've strengthened it, wrote my own theorem statement, with a different proof? A JRE is a JRE and a JDK is a JDK.
Why are some programming languages turing complete but lack some abilities of other languages? Proper solution?0Error: Unable to locate tools.jar0Installing ANT - unable to locate tools.jar Hot Network Questions My girlfriend has mentioned disowning her 14 y/o transgender daughter Password Validation in Python What is Faq Reply With Quote April 14th, 2004,08:41 AM #5 kurious View Profile View Forum Posts Prom night: 1973 Devshed Beginner (1000 - 1499 posts) Join The following sets up the environment: set ANT_HOME=c:\ant set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_13 set PATH=%PATH%;%ANT_HOME%\bin I was facing the below issue while executing the ant C:\>ant Unable to locate tools.jar.
Extracting text from file and output the line into a file Is there any way to make the cut command read the last field only? I already look thru this forum and find a solution that did not work for me. Build failed That's the message you'd expect with no build.xml in the current directory. Then error relating to tools.jar will be solved.
How rich can one single time travelling person actually become? 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