You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2019/07/21 22:11:11 UTC
[Bug 63577] New: Do not look for tools.jar when a JRE is used
(instead of a JDK)
https://bz.apache.org/bugzilla/show_bug.cgi?id=63577
Bug ID: 63577
Summary: Do not look for tools.jar when a JRE is used (instead
of a JDK)
Product: Ant
Version: unspecified
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Wrapper scripts
Assignee: notifications@ant.apache.org
Reporter: chrispitude@gmail.com
Target Milestone: ---
I didn't see a formal request for this here, so I'm filing one.
The internets are filled with years of Q&As about the following message:
Unable to locate tools.jar. Expected to find it in <path>\lib\tools.jar
I see grudging acknowledgement within the Ant community that this should be
fixed some day, but that day hasn't happened yet.
But I hope that day is soon. We are using the DITA Open Toolkit and this
message is confusing our users. And our users use a variety of different
Windows machines, which is not conducive to suppressing or avoiding the
message.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63577] Do not look for tools.jar when a JRE is used (instead of
a JDK)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63577
Radu Coravu <ra...@sync.ro> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Radu Coravu <ra...@sync.ro> ---
Same here, the ANT build system can be used for more than java compiling so it
should complain that it does not have java compilation tools only when they are
necessary in the given task.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63577] Do not look for tools.jar when a JRE is used (instead of
a JDK)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63577
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |1.10.9
Status|NEW |RESOLVED
--- Comment #4 from Stefan Bodewig <bo...@apache.org> ---
https://github.com/apache/ant/commit/6c3d7de934fd8a90cb66c81c0d81c1a6b5390168
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63577] Do not look for tools.jar when a JRE is used (instead of
a JDK)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63577
--- Comment #3 from Chris Papademetrious <ch...@gmail.com> ---
Sure! On a machine with a JRE but *not* a JDK,
1. Download the DITA Open Toolkit from
https://www.dita-ot.org/download
2. Unarchive it.
3. Run
<dita-ot dir>/bin/dita --install # on linux
<dita-ot dir>/bin/dita --install.bat # on Windows
The "--install" option does not affect anything on your system; it just causes
that DITA-OT to rebuild its plugin database. Assuming you have a JRE but not a
JDK (and no tools.jar where it might be found), you should see the message.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63577] Do not look for tools.jar when a JRE is used (instead of
a JDK)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63577
--- Comment #2 from Jaikiran Pai <ja...@apache.org> ---
Hello Chris, Radu,
Can one of you add some details on how/when this log message gets printed? I've
tried to reproduce this on some of the Ant projects (and Java versions) I have
on my *nix setup and haven't seen this message ever logged? Is this
specifically on Windows?
--
You are receiving this mail because:
You are the assignee for the bug.