On Tuesday 24 March 2009 08:07:19 pm Alex Lancaster wrote:
>>>>> "SB" == Subhodip Biswas writes:
SB> Here I am attaching the whole ant output from rpmbuild.
SB> Just curious which java compiler does rpmbuild calls by default
SB> because I have both gcj and openjdk but seems like rpmbuild still
SB> calling gcj.
You should probably only install one or the other if you intend to use
one, but not both. i.e. use "BuildRequires: java-devel-gcj" or
"BuildRequires: java-devel-openjdk".
Alex
Mock's rpmbuild will use whichever java you required that fits (openjdk if you
require java >= 1:1.6.0 or gcj otherwise); normal rpmbuild will use whatever
you have configured with alternatives.
Regards,
--
Conrad Meyer <konrad(a)tylerc.org>