PageRenderTime 51ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/www/branches/dev/nimbus/htdocs/compatibility.html

#
HTML | 71 lines | 47 code | 22 blank | 2 comment | 0 complexity | e90ea592ffc1345521ae523dedad6f5a MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <!-- begin compatibility.text -->
  2. <!-- for jEdit: :mode=html:indentSize=2:tabSize=2:noTabs=true: -->
  3. <h1>Operating Systems and Java Versions</h1>
  4. <ul>
  5. <li><a href="#win">Windows</a>
  6. <li><a href="#unix">Unix</a>
  7. <li><a href="#macx">Mac OS X</a>
  8. <li><a href="#vms">VMS</a>
  9. </ul>
  10. <p> jEdit 4.3 requires Sun's JDK 1.5.0 or later. </p>
  11. <p> jEdit 4.2 is the last release to support Java 1.3 or 1.4.
  12. </p>
  13. <h2><a name="win">Windows</a></h2>
  14. <p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
  15. a 1.5 VM for Windows.</p>
  16. <h2><a name="unix">Linux / Unix</a></h2>
  17. <p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
  18. a 1.5 VM for Linux and Solaris. These are the recommended versions. </p>
  19. <p><a href="http://www.ibm.com/developerworks/java/">IBM</a> provides
  20. a 1.5 VM for Linux, AIX, and OS/390.</p>
  21. <p>Some Linux distributions (Debian, Ubuntu) make available <tt>sun-java5-jdk</tt> as an installable package, but installed in a non-obvious place (i.e. <tt>/usr/lib/jvm/java-1.5.0-sun</tt>). It is possible an older/different version of <tt>java</tt> is found first in your <tt>PATH</tt>. Therefore, it is important to choose the correct "default" version of java. </p>
  22. <pre>
  23. sh-3.1$ <b>which java</b>
  24. /usr/bin/java
  25. sh-3.1$ <b>java -version</b>
  26. <div class="ick">Oops, we don't want this version...</div>
  27. java version "1.4.2_11"
  28. Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
  29. Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
  30. sh-3.1$ <b>sudo apt-get install sun-java5-jdk</b> # or sun-java6-jdk
  31. </pre>
  32. <p> Maybe it is already installed but not set up as the default java. To change the default version of java at any time, use <tt>update-alternatives</tt>. </p>
  33. <pre>
  34. $ <b>sudo update-alternatives --config java</b>
  35. There are 4 alternatives which provide `java'.
  36. Selection Alternative
  37. -----------------------------------------------
  38. 1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
  39. 2 /usr/bin/gij-wrapper-4.1
  40. + 3 /usr/lib/jvm/java-gcj/jre/bin/java
  41. * 4 /usr/lib/jvm/java-6-sun/jre/bin/java
  42. </pre>
  43. <p> See <a href="http://tuxicity.wordpress.com/2007/01/31/howto-switching-from-sun-java5-to-sun-java6-in-ubuntu610-edgy/">this howto</a> for more details about java alternatives. </p>
  44. <h2><a name="macx">Mac OS X </a></h2>
  45. <p> Mac OS X 10.4.8 and later has JDK 1.5 included with the operating system. Since older versions are <i>also</i> installed, it is important that you set your <tt>PATH</tt> and <tt>JAVA_HOME</tt> environment variables to point to the correct version. </p>
  46. <p> The OS/X <tt>dmg</tt> installer includes the "Mac OSX Plugin" which is only needed if you are using Java 1.5. If you have Java 1.6 as your default JVM, you will need to <b>remove</b> the Mac OSX plugin for jEdit to work properly. </p>
  47. <h2><a name="vms">VMS</a></h2>
  48. <p>Java virtual machines for VMS on Alpha can be downloaded from
  49. <a href="http://h18012.www1.hp.com/java/download/index.html">HP</a>; be sure to get the Java 1.5 version, and read and follow instructions about supported VMS versions and patches.</p>