no gcj-jdk + no ecj + building openjdk
Dr Andrew John Hughes
ahughes at redhat.com
Wed Nov 17 13:59:39 UTC 2010
On 09:30 Wed 17 Nov , Gary Benson wrote:
> Hi Ramakanth,
>
> It looks like you're using IcedTea, so I'm copying in distro-pkg-dev
> which is the mailing list most IcedTea stuff is discussed on.
>
> It also looks like you're using Fedora 8, which is very old. I'm not
> saying you won't be able to do a build, but you'll likely run into
> problems that upgrading would solve. So unless there you have a very
> compelling reason to stick on Fedora 8 I would suggest upgrading to
> the latest as your first step.
>
> In answer to your question, ecj is the Java compiler from Eclipse,
> and it's the Java compiler used by jdk-gcj-compat. You do need an
> existing JDK to build OpenJDK, and jdk-gcj-compat is probably the
> only free one available for Fedora 8.
>
> Cheers,
> Gary
>
> Ramakanth Varala wrote:
> > Hello all,
> >
> > Iam trying to build openjdk for my fedora plat form .
> > i like to build openjdk without ecj ( i guess this is eclipse related
> > and eclipse IDE is not needed )
> >
ecj is a java compiler and you need a Java compiler to build IcedTea.
It does come from the Eclipse IDE but you don't need any of the IDE
installed to use it. It's a command-line tool.
On Fedora 8, I believe you should have the option of either installing
java-1.5.0-gcj (recommended) or java-1.7.0-icedtea. Using the latter
will require building with the --with-openjdk flag.
The simplest option, however, is probably just to upgrade to a newer
version of Fedora and perform 'yum install java-1.6.0-openjdk'.
> > Currently iam getting the error as below .
> >
> > checking for distribution package version... none
> > checking build identification... Built on Fedora release 8 (Werewolf)
> > (Wed Nov 17 12:03:35 IST 2010)
> > checking for a GCJ JDK home directory...
> > configure: error: "A GCJ JDK home directory could not be found."
> >
> >
> > can any body help me in this.
> >
> > regards
>
> --
> http://gbenson.net/
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the build-dev
mailing list