Home > Unable To > Ant Unable To Locate Tools.jar Ubuntu

Ant Unable To Locate Tools.jar Ubuntu

Contents

When I do "apt-get install sun-java6-jdk" I also get: Code: Package sun-java6-jdk is not available, but is referred to by another package. ops :s I believe I will be using the Eclipse IDE, though to be honest the tutorial I have indicated before doesn't seem to make much use of it (lol). Browse other questions tagged java or ask your own question. Sample a random non-decreasing sequence Finding The nth Prime such that the prime - 1 is divisible by n Is there any way to use a sub-domain as your root domain Source

Can I brine meat after cooking it? Now when I invoke ant the output is also the one expected: Code: AB9:~$ ant Buildfile: build.xml does not exist! User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Adv Reply May 11th, 2012 #9 Flame_Phoenix View Profile View Forum Posts Private Message Just Give Me the Beans!

Unable To Locate Tools.jar Ant

asked 5 years ago viewed 32723 times active 10 months ago Blog How We Make Money at Stack Overflow: 2016 Edition Upcoming Events 2016 Community Moderator Election ends in 5 days Proper solution?0Error: Unable to locate tools.jar1Android Studio Error:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts (No such file or directory)0ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 2 Hot Network Questions How to politely decline compensation? What should I do about this security issue?

The only problem is that now I don't have my good old Jedit =( Now all I need to know is where to put that XML file and how to integrate I apologize if I did wrong). For details and our forum data attribution, retention and privacy policy, see here Blog Categories:HardwareHowtoProgrammingSystem administrationUncategorizedContactDonateAbout Jan Jonas' blogHowtos & Tutorials Ubuntu 12.04.1 LTS & ant: Resolve "Unable to locate tools.jar. Unable To Locate Tools.jar. Expected To Find It In xjpablobrx @ flickr jpablobr @ github Navigation Home About Notes Archive Articles Archive WTF?

Differences between Interrupts and sampling for hardware button? Buildfile: Build.xml Does Not Exist! Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar I do have my JAVA_HOME configured. 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 Code: echo $JAVA_HOME echo $CLASSPATH Will you be using ant from the command line, or using Eclipse?

At first I installed only JRE then I installed JDK. Centos Install Jdk Code: ant -noclasspath Adv Reply May 10th, 2012 #5 Flame_Phoenix View Profile View Forum Posts Private Message Just Give Me the Beans! Can my employer see what I do on the internet when I am connected to the company network? Summer Reflections Dear websites: Please stop requesting for my contacts when login or signup DigitalOcean credit expiration policy changed Focus Healthy Competition for Bitcoin Goodbye Dropbox.

Buildfile: Build.xml Does Not Exist!

Adv Reply May 10th, 2012 #8 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crme Ubuntu Join Date May 2007 Location Leeds, UK Beans 1,664 DistroUbuntu 13.10 Browse other questions tagged ubuntu java eclipse ant or ask your own question. Unable To Locate Tools.jar Ant Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar2Ant: not able to find tools.jar0Error: Unable to locate tools.jar0Installing ANT - unable to locate tools.jar0“Unable to find a javac compiler” error in Ant Tools.jar Download For Jre7 Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar This error message means that your Java is missing the file tools.jar which is a Java JDK file.

Shouldn't the ant package depend on the JDK? –dreamlax Apr 22 at 0:27 add a comment| up vote 8 down vote Note: On CentOS / RHEL installing java-1.x.0-openjdk will not be this contact form How does the Mac SE/30 send video to the analog board? share|improve this answer answered Feb 16 '14 at 18:37 mcr 3,53921920 add a comment| up vote 2 down vote On Debian, after installing Ant with apt-get install ant, I've encountered the 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 Tools.jar Download For Jre 8

Would this be considered as plagiarism? Our solution is to install the Java JDK and JRE pacakges. Also install java-1.x.0-openjdk-devel. have a peek here Join Date Apr 2008 Location Portugal Beans 59 DistroLubuntu 12.04 Precise Pangolin Ant cant locate tools.jar Hello, a few days ago I installed "ant" to use AspectJ in Android: http://blog.punegtug.org/2010/11/add...o-android.html However,

Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar Indeed, there's no mention of any tools.jar anywhere in /usr/lib, although /usr/lib/jvm/java-6-openjdk-amd64 itself does exist. Tools.jar Not Found Mountainering with 6 y.o. And java -version does run without any issue ubuntu java eclipse ant share|improve this question asked Aug 10 '13 at 19:36 Dan 63 Try echo $JAVA_HOME.

Browse other questions tagged java ant tools.jar or ask your own question.

Build failed Adv Reply May 10th, 2012 #4 r-senior View Profile View Forum Posts Private Message Iced Blended Vanilla Crme Ubuntu Join Date May 2007 Location Leeds, UK Beans 1,664 Here's one weird trick you can put into your .profile to set JAVA HOME properly, no matter which java you have: export JAVA_HOME=$(dirname $(dirname $(readlink -e /usr/bin/java))) # Test for jdk Here's what they look like: export PATH="/usr/local/heroku/bin:$PATH" export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 export PATH=$JAVA_HOME/bin:$PATH Here's what my /etc/environment file looks like: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/$ JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64" java share|improve this question edited Sep 22 '14 at 5:50 hd1 Openjdk Ubuntu Will my jre and the linked library files for mozilla will work without any problem? –nainometer May 8 at 5:57 @nainometer Check, if not then make a symlink of

What to fill under occupation if you have quit your job What is the role of conjectures in modern mathematics? Index Of Articles: Web Design & Development View the discussion thread.blog comments powered by Disqus SixArm • http://sixarm.com • Copyright © 2011 • All Rights Reserved UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu works best with JavaScript enabled wakasann live and let live 博客园 首页 新随笔 联系 订阅 管理 随笔 - 148 文章 - 0 评论 - 7 Ubuntu 14.04 & ant: http://apexintsoft.com/unable-to/ant-unable-to-locate-tools-jar-windows-8.php Not the answer you're looking for?

When are COLUMN aliases in FROM clauses needed? Join Date Apr 2008 Location Portugal Beans 59 DistroLubuntu 12.04 Precise Pangolin Re: Ant cant locate tools.jar Ouch ... About $JAVA_HOME and $CLASSPATH, they don't seem to be defined ... 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.

Build failed Thanks, that really helped! I tend to use Maven these days but I know Eclipse integrates well with Ant and there's plenty of documentation: http://www.eclipse.org/eclipse/ant/index.php http://help.eclipse.org/indigo/index...-81_basics.htm http://ant.apache.org/manual/ Just as a footnote to all of this, Expected to find it in /usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar Buildfile: build.xml does not exist!