Bugzilla – Bug 155288
Some problems in gcj
Last modified: 2006-03-28 09:54:12 UTC
With 10.1 beta 6 I was able first time to use tomcat with gcj. Nearly everything works fine, bot there are some isues: Dependencies: tomcat doesn't work without jta, jaf and some other "unfree" stufff. There are REQUIRES entries in the spec, but yast doesn't care and installs tomcat without any error message, but it doesn't work and we do have again broken links - remember Bug #148502 (ok, seems to be no gcj but a yast problem). java-1_4_2-gcj-compat contains the java command which is a shell script which is calling gcj. gcj is part of gcc-java, but there is no REQUIRES entry in java-1_4_2-gcj-compat, so it can be installed without gcj, but doesn't work in any case (not even "java -version" works without a error meesage). Java itselve: Try this one: NumberFormat nf = NumberFormat.getCurrencyInstance(java.util.Locale.GERMANY); and you get a "java.lang.IllegalArgumentExeption: The currency code, DM, is not supported". I was "Eurobeauftragter" in our company, I think it's time to switch germany to Euro in gcj/classpath, too ;-) On the other side, I'm astonished my WebProjects work without a problem (when the currence/NumberFormat problem is fixed) with gcj instead of Suns java. I'm happy to see, we are on a good way for a completele free java.
Johannes: Will assigne that one to you as you are the gcj-compat maintainer. After that, it should probably go to Michael Matz (gcj/classpath stuff). Regards, Daniel
java-1_4_2-gcj-compat cannot require gcc-java, see bug #151732. (For the full story see also bug #144113 and bug #154105.) I don't know how to solve it automatically via RPM requirements in the java-1_4_2-gcj-compat* packages (i.e. for me it is WONTFIX), see in particular the comments near the end of bug #151732 Perhaps there could be additional RPM requirements in tomcat? I know that tomcat cannot simply require the gcc-java package directly but it might require a RPM capabiliy which is provided by the apporopriate packages so that YaST can let the user choose? I reassign it back to the tomcat/jboss/jonas maintainer, in particular to answer my questions in bug #151732. Daniel, please post an answer regarding java-1_4_2-gcj-compat-devel in bug #151732.
To get the various issues seperated, I filed bug #155729
The java-1_4_2-gcj-compat-devel package now provides java-devel and requires gcc-java, Johannes changed that yesterday. If I understand correctly this bug is fixed by this change, isn't it? Will close the bug as fixed ... if anybody has any objections, please feel free to re-open it again. @Johannes: Any objections? Regarding the non free dependencies: It will be a major focus for Johannes and me, getting all the non-free stuff substitutions from the classpath project into the next release (is to say: Version 10.2). Best regards, Daniel
FIXED.