PageRenderTime 87ms CodeModel.GetById 72ms app.highlight 4ms RepoModel.GetById 10ms 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
 1<!-- begin compatibility.text -->
 2
 3<!-- for jEdit: :mode=html:indentSize=2:tabSize=2:noTabs=true: -->
 4
 5<h1>Operating Systems and Java Versions</h1>
 6
 7<ul>
 8<li><a href="#win">Windows</a>
 9<li><a href="#unix">Unix</a>
10<li><a href="#macx">Mac OS X</a>
11<li><a href="#vms">VMS</a>
12</ul>
13
14<p> jEdit 4.3 requires Sun's JDK 1.5.0 or later. </p>
15
16<p> jEdit 4.2 is the last release to support Java 1.3 or 1.4.
17</p>
18
19<h2><a name="win">Windows</a></h2>
20
21<p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
22a 1.5 VM for Windows.</p>
23
24<h2><a name="unix">Linux / Unix</a></h2>
25
26<p><a href="http://java.sun.com/products/j2se/1.5">Sun</a> provides
27a 1.5 VM for Linux and Solaris. These are the recommended versions. </p>
28
29<p><a href="http://www.ibm.com/developerworks/java/">IBM</a> provides
30a 1.5 VM for Linux, AIX, and OS/390.</p>
31
32<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>
33
34<pre>
35sh-3.1$ <b>which java</b>
36/usr/bin/java
37sh-3.1$ <b>java -version</b>
38<div class="ick">Oops, we don't want this version...</div>
39java version "1.4.2_11" 
40Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
41Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode) 
42sh-3.1$ <b>sudo apt-get install sun-java5-jdk</b> # or sun-java6-jdk
43</pre>
44
45<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>
46<pre> 
47$ <b>sudo update-alternatives --config java</b>
48There are 4 alternatives which provide `java'.
49
50  Selection    Alternative
51-----------------------------------------------
52          1    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
53          2    /usr/bin/gij-wrapper-4.1
54 +        3    /usr/lib/jvm/java-gcj/jre/bin/java
55*         4    /usr/lib/jvm/java-6-sun/jre/bin/java
56</pre>
57
58<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>
59
60<h2><a name="macx">Mac OS X </a></h2>
61
62<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>
63
64<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>
65
66
67<h2><a name="vms">VMS</a></h2>
68
69<p>Java virtual machines for VMS on Alpha can be downloaded from
70<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>
71