/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
- <!-- begin compatibility.text -->
- <!-- for jEdit: :mode=html:indentSize=2:tabSize=2:noTabs=true: -->
- <h1>Operating Systems and Java Versions</h1>
- <ul>
- <li><a href="#win">Windows</a>
- <li><a href="#unix">Unix</a>
- <li><a href="#macx">Mac OS X</a>
- <li><a href="#vms">VMS</a>
- </ul>
- <p> jEdit 4.3 requires Sun's JDK 1.5.0 or later. </p>
- <p> jEdit 4.2 is the last release to support Java 1.3 or 1.4.
- </p>
- <h2><a name="win">Windows</a></h2>
- <p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
- a 1.5 VM for Windows.</p>
- <h2><a name="unix">Linux / Unix</a></h2>
- <p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
- a 1.5 VM for Linux and Solaris. These are the recommended versions. </p>
- <p><a href="http://www.ibm.com/developerworks/java/">IBM</a> provides
- a 1.5 VM for Linux, AIX, and OS/390.</p>
- <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>
- <pre>
- sh-3.1$ <b>which java</b>
- /usr/bin/java
- sh-3.1$ <b>java -version</b>
- <div class="ick">Oops, we don't want this version...</div>
- java version "1.4.2_11"
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
- Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
- sh-3.1$ <b>sudo apt-get install sun-java5-jdk</b> # or sun-java6-jdk
- </pre>
- <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>
- <pre>
- $ <b>sudo update-alternatives --config java</b>
- There are 4 alternatives which provide `java'.
- Selection Alternative
- -----------------------------------------------
- 1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
- 2 /usr/bin/gij-wrapper-4.1
- + 3 /usr/lib/jvm/java-gcj/jre/bin/java
- * 4 /usr/lib/jvm/java-6-sun/jre/bin/java
- </pre>
- <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>
- <h2><a name="macx">Mac OS X </a></h2>
- <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>
- <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>
- <h2><a name="vms">VMS</a></h2>
- <p>Java virtual machines for VMS on Alpha can be downloaded from
- <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>