From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1 Description of problem: # javac < help message > incorrect classpath: /usr/share/java/libgcj-3.4.2.jar Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. javac 2. 3. Additional info: Same bug as 133898.
I fixed this a long time ago in Rawhide. If you're not interested in updating, a possible workaround is to replace the hard-coded libgcj-3.4.2.jar part in /usr/bin/javac with: libgcj-`gcj --version | head -n 1 | awk '{ print $3 }'`.jar
It works. Thank you.