Red Hat Bugzilla – Bug 126304
JDK_TOOLS not always registered as classpath variable
Last modified: 2007-04-18 13:09:02 EDT
Description of problem: Lomboz requires tools.jar from a JDK around,
and Lomboz projects expect the path to it to be registered as the
JDK_TOOLS classpath variable. The path is currently only registered
when the Lomboz preferences are modified.
Version-Release number of selected component (if applicable):
How reproducible: Always.
Steps to Reproduce:
1. Launch eclipse with a new workspace, and don't touch the Lomboz
2. Create a new J2EE project.
Actual results: JDK_TOOLS classpath variable is unbound and J2EE
projects do not build properly.
Additional info: I'll put together a patch for this that I'll pass
upstream as well.
I just checked in a patch for this that registers the classpath
variable at plug-in initialization. I'll send it to ObjectWeb as well.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.