summaryrefslogtreecommitdiffstats
path: root/release-info/pre-release/README-unzip.html
blob: f6ea481f3dfc05dcb0991421e4de0095357a6163 (plain)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
  <title>3D Graphics API for the Java Platform 1.6.0: Unzip
Instructions</title>
</head>
<body>
<h2>3D Graphics API for the Java Platform 1.6.0 Pre-Release</h2>
<p>This software is licensed by Sun, as specified in the
<a href="LICENSE-GPLv2.txt">LICENSE-GPLv2.txt</a>
file. You
must only use this software in accordance with the terms under which
the code is licensed.
</p>
<h2>Instructions for Unzipping 3D Graphics API for the Java
Platform 1.6.0 Pre-Release</h2>
<p>The 1.6.0-XXX pre-release version of 3D graphics API for the
Java
platform runs on JDK version 1.5.0 and higher. It has been released
for the <a href="#Windows">Windows</a>, <a href="#Linux">Linux</a>,
<a href="#Solaris">Solaris</a>,
and <a href="#MacOSX">Mac&nbsp;OS&nbsp;X</a>
operating environments.
</p>
<p>NOTE: Installing the j3d jars and native libs into the "ext"
directory of the JRE is discouraged, especially on
Mac&nbsp;OS&nbsp;X
where JOGL is used as the rendering engine. Doing so can cause
conflicts with third-party applications launched via Java Web Start,
and causes confusion later when upgrading the distribution.
</p>
<h3><a name="Windows"></a>Windows</h3>
<p>The 1.6.0 pre-release version of 3D graphics API for the Java
platform for Windows 2000, Windows XP (x86 or amd64), and Windows
Vista runs on JDK version 1.5.0 and
higher. To manually install this build, do the following:
</p>
<ol>
  <li>Download and unzip <code>j3d-1_6_0-XXX.zip</code>
(using Windows
Explorer or an unzip tool such as WinZip) to a temporary
download folder,
for example, <code>c:\Downloads</code>. This will
create a <code>j3d-1_6_0-XXX</code> subfolder in
your download folder where the
downloaded files can be found. The file you need for manual
installation is <code>j3d-jre.zip</code>.<br>
    <br>
  </li>
  <li>Create a folder for the j3d jar files and native libraries,
for example, <code>C:\Users\myhome\j3d</code>, and
unzip <code>j3d-jre.zip</code> into this folder.<br>
    <br>
  </li>
  <li>Modify your <code>CLASSPATH</code> environment
variable to include the full paths to <code>j3dcore.jar</code>,
    <code>j3dutils.jar</code>, and <code>vecmath.jar</code>.
For example, add the following to your <code>CLASSPATH</code>
variable,
using the System control panel, Advanced tab, Environment Variables
button:<br>
    <br>
    <code>.;C:\Users\myhome\j3d\lib\ext\j3dcore.jar;C:\Users\myhome\j3d\lib\ext\j3dutils.jar;C:\Users\myhome\j3d\lib\ext\vecmath.jar</code>
    <br>
    <br>
  </li>
  <li>Modify your <code>PATH</code> environment
variable to contain the full path to the <code>lib\i386</code>
folder (or <code>lib\amd64</code> for
Windows/x64). For example, on 32-bit Windows, add the following to your
    <code>PATH</code> variable, using the System control
panel, Advanced tab, Environment Variables button.<br>
    <br>
    <code>C:\Users\myhome\j3d\lib\i386</code><br>
  </li>
</ol>
<p>At this point your Java installation should be able to see
the j3d class files. Users of IDEs such as NetBeans and Eclipse should
consult the IDE's documentation to see how to add jar files and native
libraries to their current project.<br>
</p>
<h3><a name="Linux"></a><a name="Solaris"></a>Linux,
Solaris</h3>
<p>The 1.6.0 pre-release version of 3D graphics API for the Java
platform
for Linux or Solaris runs on JDK version 1.5.0 and
higher. To manually install this build, do the following:</p>
<ol>
  <li>Download and unzip <code>j3d-1_6_0-XXX.zip</code>
into a temporary
download directory,
for example, <code>/tmp</code>. This will
create a <code>j3d-1_6_0-XXX</code> subdirectory
in <code>/tmp</code> where the
downloaded files can be found. The file you need for manual
installation is <code>j3d-jre.zip</code>.<br>
    <br>
  </li>
  <li>Create a folder for the j3d jar files and native libraries,
for example, <code>/myhome/j3d</code>, and
unzip <code>j3d-jre.zip</code> into this directory
as follows:<br>
    <br>
    <ul>
      <code>cd /myhome/j3d</code><br>
      <code>unzip /tmp/j3d-1_6_0-*/j3d-jre.zip</code><br>
    </ul>
    <br>
  </li>
  <li>Modify your <code>CLASSPATH</code> environment
variable to include the full paths to <code>j3dcore.jar</code>,
    <code>j3dutils.jar</code>, and <code>vecmath.jar</code>.
For example:<br>
    <br>
    <code>export
CLASSPATH=.:/myhome/j3d/lib/ext/j3dcore.jar:/myhome/j3d/lib/ext/j3dutils.jar:/myhome/j3d/lib/ext/vecmath.jar</code><br>
    <br>
  </li>
  <li>Modify your <code>LD_LIBRARY_PATH</code>
environment
variable to contain the full path to the <code>lib/&lt;ARCH&gt;</code>
directory. For example, on 32-bit Linux:<br>
    <br>
    <code>export LD_LIBRARY_PATH=/myhome/j3d/lib/i386</code><br>
  </li>
</ol>
<p>At this point your Java installation should be able to see
the j3d class files. Users of IDEs such as NetBeans and Eclipse should
consult the IDE's documentation to see how to add jar files and native
libraries to their current project.
</p>
<h3><a name="MacOSX"></a>Mac OS X</h3>
<p>The 1.6.0 pre-release version of 3D graphics API for the Java
platform
for Mac&nbsp;OS&nbsp;X runs on JDK version 1.5.0 and
higher. To manually install this build, do the following:</p>
<ol>
  <li>Download and unzip <code>j3d-1_6_0-XXX.zip</code>
into a temporary
download directory,
for example, <code>/tmp</code>. This will
create a <code>j3d-1_6_0-XXX</code> subdirectory
in <code>/tmp</code> where the
downloaded files can be found. The file you need for manual
installation is <code>j3d-jre.zip</code>.<br>
    <br>
  </li>
  <li>Create a folder for the j3d jar files,
for example, <code>/myhome/j3d</code>, and
unzip <code>j3d-jre.zip</code> into this directory
as follows:<br>
    <br>
    <ul>
      <code>cd /myhome/j3d</code><br>
      <code>unzip /tmp/j3d-1_6_0-*/j3d-jre.zip</code><br>
    </ul>
    <br>
  </li>
  <li>Modify your <code>CLASSPATH</code> environment
variable to include the full paths to <code>j3dcore.jar</code>,
    <code>j3dutils.jar</code>, and <code>vecmath.jar</code>.
For example:<br>
    <br>
    <code>export
CLASSPATH=.:/myhome/j3d/lib/ext/j3dcore.jar:/myhome/j3d/lib/ext/j3dutils.jar:/myhome/j3d/lib/ext/vecmath.jar</code><br>
  </li>
  <br>
  <li>Download a recent version of <a href="https://jogl.dev.java.net/">JOGL</a> for the Mac
platform into a temporary
download directory,
for example, <code>/tmp</code>.<br>
    <br>
  </li>
  <li>Create a folder for the jogl jar files and native
libraries,
for example, <code>/myhome/jogl</code>, and
unzip <code>jogl-*.zip</code> into this directory
as follows:<br>
    <br>
    <ul>
      <code>cd /myhome/jogl</code><br>
      <code>unzip /tmp/jogl-*.zip</code><br>
    </ul>
    <br>
  </li>
  <li>Modify your <code>CLASSPATH</code> environment
variable to include the full paths to <code>jogl.jar</code>
and <code>gluegen-rt.jar</code>.
For example:<br>
    <br>
    <code>export
CLASSPATH="${CLASSPATH}:/myhome/jogl/lib/jogl.jar:/myhome/jogl/lib/gluegen-rt.jar</code><br>
  </li>
  <br>
  <li>Modify your <code>DYLD_LIBRARY_PATH</code>
environment
variable to contain the full path to the <code>lib</code>
directory. For example:<br>
    <br>
    <code>export DYLD_LIBRARY_PATH=/myhome/jogl/lib</code><br>
  </li>
</ol>
<p>At this point your Java installation should be able to see
the j3d and jogl class files. Users of IDEs such as NetBeans and
Eclipse should
consult the IDE's documentation to see how to add jar files and native
libraries to their current project.</p>
</body>
</html>