Description of problem: After update from Fedora 19 to Fedora 20 and to Fedora 21, java apps cannot be launched. Version-Release number of selected component (if applicable): 4.1.0-2 How reproducible: After update, run "ant -help" Steps to Reproduce: 1. Install Fedora 19. 2. Install ant. 3. Check that 'ant -help' works. 4. fedup to Fedora 20. 5. Check that 'ant -help' works. 6. fedup to Fedora 21. 7. Try 'ant -help', it will fail. 8. sudo echo JAVA_ABRT=off >>/etc/java/java.conf 9. Try 'ant -help', this time it will work. Actual results: ant fails with following output: Error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/jvm/java/bin/java -agentpath:/usr/lib/libabrt-java-connector.so=abrt=on Expected results: ant to print normal usage text. Additional info:
Confirmed. # dnf install ant abrt-java-connector # ant -version Apache Ant(TM) version 1.9.4 compiled on August 11 2014 # abrtd # ant -version Error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/jvm/java/bin/java -agentpath:/usr/lib/libabrt-java-connector.so=abrt=on Workaround is to disable ABRT Java connector by appending "JAVA_ABRT=off" line to /etc/java/java.conf
Fixed upstream: https://github.com/mizdebsk/javapackages/commit/c08543d0bd84a182f158529d851a4583bf97d8ae
Fixed in javapackages-tools-4.1.0-3
javapackages-tools-4.1.0-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/javapackages-tools-4.1.0-3.fc21
Moving to QA for testing.
I believe that this bug is fixed in javapackages-tools-4.1.0-3, which is available in Fedora 21, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=589109
javapackages-tools-4.1.0-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.