Running-Java.xhtml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:pls="http://www.w3.org/2005/01/pronunciation-lexicon" xmlns:ssml="http://www.w3.org/2001/10/synthesis" xmlns:svg="http://www.w3.org/2000/svg">
  3. <head>
  4. <title>Getting and running Java</title>
  5. <link rel="stylesheet" type="text/css" href="docbook-epub.css"/>
  6. <link rel="stylesheet" type="text/css" href="kawa.css"/>
  7. <script src="kawa-ebook.js" type="text/javascript"/>
  8. <meta name="generator" content="DocBook XSL-NS Stylesheets V1.79.1"/>
  9. <link rel="prev" href="Installation.xhtml" title="Getting and installing Kawa"/>
  10. <link rel="next" href="Binary-distribution.xhtml" title="Installing and using the binary distribution"/>
  11. </head>
  12. <body>
  13. <header/>
  14. <section class="sect1" title="Getting and running Java" epub:type="subchapter" id="Running-Java">
  15. <div class="titlepage">
  16. <div>
  17. <div>
  18. <h2 class="title" style="clear: both">Getting and running Java</h2>
  19. </div>
  20. </div>
  21. </div>
  22. <p>Before installing Kawa, you will need a working Java system.
  23. The released Kawa jar file assumes Java 7 or newer.
  24. You need to build Kawa from source if you have Java 5, Java 6,
  25. or are targeting Android.
  26. (Older versions of Kawa have been reported to
  27. work with JDK from 1.1, Kaffe, Symantec Cafe, J++, and GCJ,
  28. but these are no longer supported.)
  29. </p>
  30. <p>The discussion below assumes you are using the Java Developer’s Kit
  31. (JDK) from Oracle. You can download free copies of
  32. <a class="ulink" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_top">JDK 8</a> for various platforms.
  33. </p>
  34. <p>If you want to run Kawa on a Macintosh, see
  35. <a class="ulink" href="http://rdsathene.org/scheme/mackawa.html" target="_top">http://rdsathene.org/scheme/mackawa.html</a>.
  36. </p>
  37. <p>The program <code class="literal">java</code> is the Java interpreter.
  38. The program <code class="literal">javac</code> is the Java compiler,
  39. and is needed if you want to compile the source release yourself.
  40. Both programs must be in your <code class="literal">PATH</code>.
  41. If you have the JDK in directory <code class="literal">$JAVA_HOME</code>,
  42. and you are using a Bourne-shell compatible shell
  43. (/bin/sh, ksh, bash, and some others) you can set <code class="literal">PATH</code> thus:
  44. </p>
  45. <pre class="screen">PATH=$JAVA_HOME/bin:$PATH
  46. export PATH
  47. </pre>
  48. </section>
  49. <footer>
  50. <div class="navfooter">
  51. <p>
  52. Up: <a accesskey="u" href="Installation.xhtml">Getting and installing Kawa</a></p>
  53. <p>
  54. Previous: <a accesskey="p" href="Getting-Kawa.xhtml">Getting Kawa</a></p>
  55. <p>
  56. Next: <a accesskey="n" href="Binary-distribution.xhtml">Installing and using the binary distribution</a></p>
  57. </div>
  58. </footer>
  59. </body>
  60. </html>