1
0

index.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
  3. "http://forrest.apache.org/dtd/document-v20.dtd">
  4. <!--
  5. Copyright (c) 2010-2010 by Bernhard Bablok (bablokb@users.sourceforge.net)
  6. $Revision: 1.3 $
  7. $Author: bablokb $
  8. -->
  9. <document>
  10. <header>
  11. <title>im4java Installation</title>
  12. </header>
  13. <body>
  14. <section id="install">
  15. <title>Installation</title>
  16. <p>
  17. There is no formal installation method. If you have downloaded
  18. the source-distribution and are using Linux, you should run
  19. </p>
  20. <source>
  21. $ &gt; make src jar
  22. </source>
  23. <p>
  24. This will generate and compile all source-files and generate the im4java
  25. library (the jar file <code>im4java-version.jar</code>). Note
  26. that compiling the library requires bash and make and the java
  27. development kit. If you use a different operating system, you
  28. must either install a unix-environment (e.g. <em>cygwin</em>
  29. for Windows), or you should download the binary distribution
  30. of im4java.
  31. </p>
  32. <p>
  33. After you created the im4java library (which is also part of
  34. the binary distribution), you just add it to the CLASSPATH of
  35. your project.
  36. </p>
  37. <p>
  38. If you want to recreate the documentation from source, you
  39. need <a href="ext:forrest">Apache Forrest</a>, version 0.8,
  40. and run
  41. </p>
  42. <source>
  43. $ &gt; make doc
  44. </source>
  45. </section>
  46. <section id="java15">
  47. <title>Support for JRE 1.5</title>
  48. <p>
  49. In case you need a version compatible with JRE 1.5, you can
  50. create a 1.5-compatible version from source with
  51. </p>
  52. <source>
  53. $ &gt; make src jar-1.5
  54. </source>
  55. <p>
  56. The binary distribution already has a 1.5-compatible version
  57. named <code>im4java-version-1.5.jar</code>.
  58. </p>
  59. </section>
  60. <section id="start">
  61. <title>Getting Started</title>
  62. <p>
  63. Once you have the library in place, you should read the <a
  64. href="site:devguide">Developer's Guide</a> (at least the
  65. first section about setting up the environment for
  66. im4java). You might also consider running a number of
  67. tests. See <a href="site:tests">Running Tests</a> for details.
  68. </p>
  69. </section>
  70. </body>
  71. </document>