Bug 186009

Summary: Installation of Errata RHBA-2006:0108-5 breaks 'ant'
Product: Red Hat Enterprise Linux 3 Reporter: David Bennett <dbennett>
Component: antAssignee: Deepak Bhole <dbhole>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-31 22:05:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Bennett 2006-03-20 23:15:01 UTC
Description of problem:

After updating the java-1.4.2-ibm to release 1jpp_13rh,  the 
'ant' command breaks with the following error:

  The java class is not found:  org/apache/tools/ant/launch/Launcher

Version-Release number of selected component (if applicable):

  ant-1.6.2-3jpp_3rh

How reproducible:

  ant

Steps to Reproduce:
1. log in
2. run ant --execdebug

  
Actual results:

exec "/usr/bin/java" -classpath "/usr/bin/build-classpath: error: 
JVM_LIBDIR /usr/lib/jvm-exports/java-1.4.2-ibm-1.4.2.2 does not exist or is 
not a directory" -Dant.home="/usr/share/ant" -
Dant.library.dir="/usr/share/ant/lib" org.apache.tools.ant.launch.Launcher -
lib ""
The java class is not found:  org/apache/tools/ant/launch/Launcher

Additional info:

It appears that the directory:

  /usr/lib/jvm-exports/java-1.4.2-ibm-1.4.2.2

Was replaced by:

  /usr/lib/jvm-exports/java-1.4.2-ibm-1.4.2.3
  
Issuing the following commands fixes the problem:

  cd /usr/lib/jvm-exports
  ln -s java-1.4.2-ibm-1.4.2.3 java-1.4.2-ibm-1.4.2.2

Comment 1 Deepak Bhole 2006-05-31 22:05:52 UTC

*** This bug has been marked as a duplicate of 186010 ***