119 lines
4 KiB
XML
119 lines
4 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
|
|
"http://www.FreeBSD.org/XML/doc/share/xml/xhtml10-freebsd.dtd" [
|
|
<!ENTITY title "FreeBSD &java; Project: FAQ">
|
|
]>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>&title;</title>
|
|
|
|
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
|
|
</head>
|
|
|
|
<body class="navinclude.developers">
|
|
|
|
<table border="0">
|
|
<tr>
|
|
<td>
|
|
<h2>Contents</h2>
|
|
<ol>
|
|
<li> <a href="#q1">Is there a &jdk; 1.3 for FreeBSD?</a></li>
|
|
<li> <a href="#q2">Can I use the Linux-Port from the Blackdown people?</a></li>
|
|
</ol>
|
|
<h2>Full Text </h2>
|
|
<table border="0" cellspacing="0" cellpadding="2">
|
|
<tr>
|
|
<td bgcolor="#990000" width="10">
|
|
<font color="#FFFFFF"><a name="q1"> 1.</a></font>
|
|
</td>
|
|
<td align="left" valign="top" bgcolor="#ffcc66" colspan="3">
|
|
Is there a &jdk; 1.3 for FreeBSD?
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#990000" width="10"> <br/> </td>
|
|
<td align="left" valign="top" colspan="3">
|
|
Yes. You can build a native FreeBSD JDK from source, or download
|
|
pre-compiled binaries. See the FreeBSD Java front page for more
|
|
information.
|
|
</td>
|
|
</tr>
|
|
<tr bgcolor="#ffcc66">
|
|
<td bgcolor="#990000" width="10"><br/></td>
|
|
<td><font color="#990000"><strong>Prev</strong></font></td>
|
|
<td align="center"><font color="#990000"><strong>Top</strong></font></td>
|
|
<td align="right"><font color="#990000"><strong>Next</strong></font></td>
|
|
</tr>
|
|
<tr><td colspan="4"><br/></td></tr>
|
|
<tr>
|
|
<td bgcolor="#990000" width="10">
|
|
<font color="#FFFFFF"><a name="q2"> 2.</a></font></td>
|
|
<td align="left" valign="top" bgcolor="#ffcc66" colspan="3">
|
|
Can I use the Linux-Port from the Blackdown people?
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#990000" width="10"> <br/> </td>
|
|
<td align="left" valign="top" colspan="3">
|
|
Some people reported success in doing so. Try the following:
|
|
Get the archive, extract it somewhere. Then apply the following diff: <br/>
|
|
<pre>
|
|
--- bin/.java_wrapper.dist Thu Jun 3 01:14:34 1999
|
|
+++ bin/.java_wrapper Thu Oct 14 19:17:11 1999
|
|
@@ -31,8 +31,8 @@
|
|
# Resolve symlinks. See 4152645.
|
|
while [ -h "$PRG" ]; do
|
|
ls=`/bin/ls -ld "$PRG"`
|
|
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
|
|
- if /usr/bin/expr "$link" : '/' > /dev/null; then
|
|
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
|
|
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
|
|
PRG="$link"
|
|
else
|
|
PRG="`/usr/bin/dirname $PRG`/$link"
|
|
@@ -63,7 +63,7 @@
|
|
# Select vm type (if classic vm, also select thread type).
|
|
unset vmtype
|
|
unset ttype
|
|
-DEFAULT_THREADS_FLAG="native"
|
|
+DEFAULT_THREADS_FLAG="green"
|
|
if [ "x$1" = "x-hotspot" ]; then
|
|
vmtype="hotspot"
|
|
ttype="native"_threads
|
|
--- jre/bin/.java_wrapper.dist Thu Jun 3 01:14:34 1999
|
|
+++ jre/bin/.java_wrapper Thu Oct 14 19:32:06 1999
|
|
@@ -31,8 +31,8 @@
|
|
# Resolve symlinks. See 4152645.
|
|
while [ -h "$PRG" ]; do
|
|
ls=`/bin/ls -ld "$PRG"`
|
|
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
|
|
- if /usr/bin/expr "$link" : '/' > /dev/null; then
|
|
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
|
|
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
|
|
PRG="$link"
|
|
else
|
|
PRG="`/usr/bin/dirname $PRG`/$link"
|
|
@@ -63,7 +63,7 @@
|
|
# Select vm type (if classic vm, also select thread type).
|
|
unset vmtype
|
|
unset ttype
|
|
-DEFAULT_THREADS_FLAG="native"
|
|
+DEFAULT_THREADS_FLAG="green"
|
|
if [ "x$1" = "x-hotspot" ]; then
|
|
vmtype="hotspot"
|
|
ttype="native"_threads</pre><br/>
|
|
Thanks to Makoto MATSUSHITA (matusita@ics.es.osaka-u.ac.jp)
|
|
</td>
|
|
</tr>
|
|
<tr bgcolor="#ffcc66">
|
|
<td bgcolor="#990000" width="10"><br/></td>
|
|
<td><font color="#990000"><strong>Prev</strong></font></td>
|
|
<td align="center"><font color="#990000"><strong>Top</strong></font></td>
|
|
<td align="right"><font color="#990000"><strong>Next</strong></font></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|