Bug 155288 - Some problems in gcj
Summary: Some problems in gcj
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Java (show other bugs)
Version: Beta 6
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Bornkessel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 14:00 UTC by Forgotten User v5inq2MBSE
Modified: 2006-03-28 09:54 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User v5inq2MBSE 2006-03-04 14:00:29 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.
Comment 1 Daniel Bornkessel 2006-03-07 10:45:42 UTC
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
Comment 2 Johannes Meixner 2006-03-07 11:34:19 UTC
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.
Comment 3 Johannes Meixner 2006-03-07 12:37:42 UTC
To get the various issues seperated, I filed bug #155729
Comment 4 Daniel Bornkessel 2006-03-28 09:31:18 UTC
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
Comment 5 Johannes Meixner 2006-03-28 09:54:12 UTC
FIXED.