234 |
<faq question="How do I install GNU Classpath?"> |
<faq question="How do I install GNU Classpath?"> |
235 |
<p>Follow these steps to install GNU Classpath. Please note that you need this only if you want to work directly with it; usually JVMs contain a pre-packaged version of GNU Classpath. |
<p>Follow these steps to install GNU Classpath. Please note that you need this only if you want to work directly with it; usually JVMs contain a pre-packaged version of GNU Classpath. |
236 |
|
|
237 |
|
<bold>Prerequisites</bold> |
238 |
|
|
239 |
|
Please check the exact version of the prerequisites from your release's INSTALL file. |
240 |
|
|
241 |
|
In every case, you need: |
242 |
|
<ul> |
243 |
|
<li>GNU gmake |
244 |
|
<li>GNU autoconf |
245 |
|
<li>GNU automake |
246 |
|
<li>GNU libtool |
247 |
|
</ul> |
248 |
|
|
249 |
|
For building the Java bytecode (.class files), one of these compilers are required. You can select which compiler using --with-jikes, --with-gcj or --with-kjc as argument to configure; the present default is gcj. |
250 |
|
|
251 |
|
<ul> |
252 |
|
<li>GCJ (part of GNU GCC) |
253 |
|
<li>IBM Jikes |
254 |
|
</ul> |
255 |
|
|
256 |
|
For building the JNI native libraries, the following are required unless --disable-gtk-peer is used as an argument to configure. |
257 |
|
<ul> |
258 |
|
<li><createlink name="GTK+ 2" url="http://www.gtk.org/"> |
259 |
|
<li>libart-gpl |
260 |
|
<li>gdk-pixbuf |
261 |
|
</ul> |
262 |
|
|
263 |
|
For building the documentation you will need: |
264 |
|
<ul> |
265 |
|
<li>texinfo |
266 |
|
</ul> |
267 |
|
|
268 |
|
<bold>Install from CVS</bold> |
269 |
|
|
270 |
|
<commented-code> |
271 |
|
<code-line code="cvs checkout" /> |
272 |
|
<code-line code="./autogen.sh" /> |
273 |
|
<code-line code="./configure" /> |
274 |
|
<code-line code="make" /> |
275 |
|
</commented-code> |
276 |
|
|
277 |
|
<bold>Install a release</bold> |
278 |
<commented-code> |
<commented-code> |
279 |
<code-line code="<createlink url="ftp://ftp.gnu.org/gnu/classpath/">"> |
<code-line code="<createlink url="ftp://ftp.gnu.org/gnu/classpath/">"> |
280 |
Download the current release |
Download the current release |