aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/htdocs/java/docs/faq.xml
blob: 64afcc3cfcac9c46e2c9aecb51c4684c4fa4a991 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?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>