UPDATE: faq/faq8.html Java sections

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: faq/faq8.html Java sections

Kurt Miller-3
8.3 - Can I use programming language "L" on OpenBSD?

The info on java is outdated. For 5.2 release direct the users
to devel/jdk/1.7 and the www/icedtea-web packages. Eclipse
(while outdated) and Netbeans are notable IDEs. The rest of
the list is not necessary.

The whole section on now to build the jdks is also outdated.
Let us Keep It Simple St____ and eliminate it. Keep the
message consistant - use the packages.

okay?

Index: faq/faq8.html
===================================================================
RCS file: /cvs/www/faq/faq8.html,v
retrieving revision 1.239
diff -u -p -u -r1.239 faq8.html
--- faq/faq8.html 1 Nov 2012 15:05:30 -0000 1.239
+++ faq/faq8.html 27 Jan 2013 21:05:46 -0000
@@ -343,42 +343,32 @@ This new compiler is available as a subp
 </tr>
 
 <tr valign="top">
-<td rowspan="5">Java</td>
+<td rowspan="4">Java</td>
 <td>
 <a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/jdk/?only_with_tag=OPENBSD_5_2">devel/jdk</a>
 </td>
-<td>Sun JDK - only 1.7 as a package; for older version see build instructions below.</td>
+<td>Sun JDK - only 1.7 as a package; 1.6 is not recommended due lack of updates and restrictive license.</td>
 </tr>
 
 <tr valign="top">
 <td>
-<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/classpath/?only_with_tag=OPENBSD_5_2">lang/classpath</a>
+<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/www/icedtea-web/?only_with_tag=OPENBSD_5_2">www/icedtea-web</a>
 </td>
-<td>essential core class libraries for Java</td>
+<td>Browser plugin and web start for jdk/1.7 only</td>
 </tr>
 
 <tr valign="top">
 <td>
-<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/kaffe/?only_with_tag=OPENBSD_5_2">lang/kaffe</a>
-</td>
-<td></td>
-</tr>
-
-<tr valign="top">
-<td>
-<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/jikes/?only_with_tag=OPENBSD_5_2">lang/jikes</a>
-</td>
-<td>
-Fast compiler, works well.
-This needs a "run-time jar", the bytecode version of all the standard API.
+<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/eclipse/?only_with_tag=OPENBSD_5_2">devel/eclipse</a>
 </td>
+<td>Large IDE; works with Sun JDK</td>
 </tr>
 
 <tr valign="top">
 <td>
-<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/eclipse/?only_with_tag=OPENBSD_5_2">devel/eclipse</a>
+<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/netbeans/?only_with_tag=OPENBSD_5_2">devel/netbeans</a>
 </td>
-<td>Large IDE; works with Sun JDK</td>
+<td>Another IDE; works with Sun JDK</td>
 </tr>
 
 <tr valign="top">
@@ -502,60 +492,6 @@ Plenty of subpackages are available for
 </tr>
 
 </table>
-
-<h3>Building the Sun JDK</h3>
-
-Due to Sun's restrictive SCSL license, OpenBSD cannot ship binary packages
-for the JDK &lt; 1.7. Starting from 1.7 OpenBSD has a fully GPLv2 licensed
-port, that can be installed as a package. Users looking for the browser
-plugin will still need to build 1.5 or 1.6 from ports until Sun releases
-the plugin code. Note that you will need plenty of RAM for this build to
-succeed.
-
-<p>
-The JDK ports are in the <tt>devel/jdk</tt> subdirectory of the ports tree.
-You can choose among different versions, each in their own subdirectory.
-When you just type <tt>make</tt>, you will see a message asking you to
-to fetch the source files manually from Sun's website.
-Before you can do that, you need to register on that website, and agree
-with the license.
-That's why the ports framework cannot start the download automatically.
-
-<p>
-Once you have downloaded the necessary distribution files and patch sets,
-copy them to the <tt>/usr/ports/distfiles</tt> directory.
-You will also need to have X installed on your system.
-Start the build by issuing <tt>make</tt> in the port's subdirectory.
-
-<p>
-The JDK requires a working Java 2 compiler as a bootstrap to build.
-For this purpose, since OpenBSD 4.0, the port of JDK 1.5 uses kaffe,
-which allows JDK 1.5 to be used on both i386 and amd64 platforms,
-and reduces the build time considerably.
-
-<p>
-Older versions of the JDK still require a Linux version of the JDK.
-Linux emulation on OpenBSD is restricted to i386 systems, and so these
-older JDK versions will build only on i386.
-The ports framework should take care of installing the necessary files
-and setting <tt>kern.emul.linux=1</tt>.
-For more information, please read about Linux emulation in the
-<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=compat_linux&amp;sektion=8">compat_linux(8)</a>
-manual page, and also
-<a href="faq9.html#Interact">FAQ 9 - Running Linux binaries on OpenBSD</a>.
-Note that this Linux emulation is only required during the build of the
-JDK, which results in a native OpenBSD JDK.
-<b>You do not need Linux emulation to work with the native JDK.</b>
-
-<p>
-After many hours, the build will finish.
-Just continue with <tt>make install</tt> to install the JDK.
-
-<p>
-If you run into errors such as
-"Could not reserve enough space for object heap",
-try increasing your processes' memory limits using
-the shell's built-in <tt>ulimit</tt> command, with the <tt>-d</tt> flag.
 
 <h3>Other development tools</h3>