Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OpenJDK binaries



On Feb 28,  1:18pm, rhialto%falu.nl@localhost (Rhialto) wrote:
-- Subject: Re: OpenJDK binaries

| On Fri 27 Feb 2009 at 20:06:49 +0000, Christos Zoulas wrote:
| > Install the required packages
| >   * build and install java1.6 from pkgsrc 
| 
| I never understood why you need Java to build Java, especially given
| that the bytecode interpreter appears to be written in C++ (at least
| Sun's). (In fact it can't be written in Java otherwise who'd interpret
| its bytecode?) So the bootstrapping process could easily work the
| standard way: build the bytecode interpreter, and use it to run any Java
| code that is required later on in the build process. Somehow I expect
| that the fact that it isn't so, is a deliberate complication by Sun.

Because the compiler is written in java and the runtime needs to have a
the compiled java code to run.

christos


Home | Main Index | Thread Index | Old Index