Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar1unable to locate tools.jar. Also, do you have CLASSPATH and/or JAVA_HOME variables set? Acknowledgement sent to "Arnaud Vandyck"
About $JAVA_HOME and $CLASSPATH, they don't seem to be defined ... What I did is: 1. Its no hard dependency but its the > used/needed in most cases. to provide a significant amount of functionality" > > I admit defeat and agree it should be Recommends. http://stackoverflow.com/questions/5559956/ant-needs-tools-jar-and-unable-to-find-it
Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Ant Unable To Locate any suggestions? Adv Reply January 5th, 2011 #5 sureshatt View Profile View Forum Posts Private Message Visit Homepage First Cup of Ubuntu Join Date May 2010 Location Kandy, Sri Lanka Beans 7
IMO that bug should just be closed as people need to be aware what they break when they dont install the Recommends. Unable To Locate Tools.jar Ant Expected to find it in /usr/lib/jvm/java-1.4.2-gcj-4 .1-220.127.116.11/lib/tools.jar Unknown argument: --version ant [options] [target [target2 [target3] ...]] Options: -help, -h print this message -projecthelp, -p print project help information -version print the Full text and rfc822 format available. It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"Get the Sun JDK sudo apt-get install sun-java6-jdk then run sudo update-alternatives --config java and select the option that has the path /usr/lib/jvm/java-6-sun/jre/bin/javaNo more errors. @__lucas
you can check this by typing "javac" in the terminal (It will ask you to install a JDK.) Solution : apt-get install sun-java6-jdk issue above command. Tools.jar Not Found 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 The tools.jar which it was finding is found. you can check this by typing "javac" in the terminal (It will ask you to install a JDK.) Solution : apt-get install sun-java6-jdk issue above command.
Everything worked fine, including the usage of ant build.xml files in the shell. 4. http://blog.janjonas.net/2012-11-04/ubuntu_12_04-ant-unable-locate-tools_jar Full text and rfc822 format available. Buildfile: Build.xml Does Not Exist! apt-get was never meant as a usertool. Tools.jar Download For Jre7 I apologize if I did wrong).
Because it worked after installing this package. weblink Acknowledgement sent to Paul Cager
Copy sent to [email protected], Debian Java Maintainers
Is there anything else we could do to make it more obvious to > the user that he/she needs to install a compiler? Openjdk Ubuntu Yes, I believe I had jdk-6 installed. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson. __lucas Ubuntu: Fix for Unable to locate tools.jar.
Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar screen shot: [email protected]:~/workspace/alfresco/HEAD/root/projects$ ant -version Unable to locate tools.jar. Full text and rfc822 format available. 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 http://popupjammer.com/unable-to/tsql-unable-to-connect-adaptive-server-is-unavailable-or-does-not-exist.html Do counters combine?
I searched the entire file system and can not find tools.jar. I installed the JDK and all is fine. At first I installed only JRE then I installed JDK. Message #35 received at [email protected] (full text, mbox, reply): From: Michael Koch
Visit Chat Linked 126 Unable to locate tools.jar 1 Unable to locate tools.jar. I'd say Depend, but >> I suppose its not an absolute dependency - you could have a buildfile >> that doesn't call javac. > > Recommends is the right thing. Error Logging Utility and Controllers Do spacecraft in Star Wars produce jet blasts when taking off? If you'd like to contribute content, let us know.
What encryption should I use: Blowfish, Twofish, or Threefish? Toggle useless messagesView this report as an mbox folder, status mbox, maintainer mbox Report forwarded to [email protected], [email protected], Debian Java Maintainers
Every user is expected to read it first when he has problems with a given package. Maybe you can give a hint on where to start? (Never used ant before lol). Expected to find it in /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar Related 39Ant error when trying to build file, can't find tools.jar?17Ant + Vista 64 : “Unable to locate tools.jar” (jre/jdk conflict?)58Unable to locate tools.jar41“Unable to rafgaray View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by rafgaray Thread Tools Show Printable Version Email this Page Search this Thread Advanced
I'm running Sun JDK 1.6.0_21 on Windows XP SP3. I really hate oracle's lawyers. Would society of simultaneous hermaphrodites have gender roles? Find More Posts by riluve 04-21-2009, 12:32 AM #2 riluve Member Registered: Nov 2004 Distribution: CentOS-4 Posts: 142 Original Poster Rep: Well . . .
Last edited by Flame_Phoenix; May 11th, 2012 at 11:49 AM.