forked from mauricio/jai-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME-build.html
105 lines (105 loc) · 3.63 KB
/
README-build.html
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
<!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>README-build: build instructions for the jai-core project</title>
</head>
<body>
<h3><span style="font-weight: bold; text-decoration: underline;">Building
the Java Advanced Imaging Packages</span></h3>
<p><span style="text-decoration: underline;"><span
style="font-weight: bold;"></span></span><span
style="font-weight: bold; text-decoration: underline;"> </span></p>
<p>To
build the Java Advanced Imaging packages, you must first checkout the <a
href="http://jai-core.dev.java.net/">jai-core</a> CVS
repository on java.net. For example, run
the cvs checkout command as follows:<br>
</p>
<ul>
<code>cd <cvs-root-dir></code><br>
<code>cvs checkout jai-core</code>
</ul>
<p></p>
<h3><span style="font-weight: bold; text-decoration: underline;"></span><span
style="text-decoration: underline;">System Requirements</span></h3>
<p><span style="font-weight: bold; text-decoration: underline;"></span></p>
<p><span style="font-weight: bold; text-decoration: underline;"></span>
Any operating environment that supports J2SE should work. We have built
jai-core on the following operating
environments:<br>
</p>
<ul>
<li>Solaris-sparc: Sparc (Ultra60 or better) running Solaris 9</li>
<li>Solaris-x86: i386/i586 running Solaris-x86 9<br>
</li>
<li>Linux: i386/i586 running SuSE 9 or RedHat 9.0</li>
<li>Windows: Windows/XP, Windows 2000</li>
</ul>
The following software must be installed:<br>
<ul>
<li><a href="http://java.sun.com/j2se">J2SE 1.3 </a> or later.<br>
</li>
<li><a href="http://jakarta.apache.org/ant">Apache Ant 1.6 </a>
or later </li>
</ul>
<p></p>
<h3><span style="font-weight: bold; text-decoration: underline;">Building
Java Advanced Imaging<br>
</span></h3>
<p><span style="font-weight: bold; text-decoration: underline;"></span><span
style="font-weight: bold; text-decoration: underline;"></span>Before
you start building, your PATH must include the
following directories:
</p>
<ul>
<li><ant-root-dir>/bin<br>
</li>
<li><jdk-root-dir>/bin</li>
<li>Setting JAVA_HOME or JAVACMD environment variable will supersede
<jdk-root-dir>/bin for ant. For further details please refer to
the ant manual.<br>
</li>
</ul>
<p>The default target, jar, creates both optimized and debug jar files.
</p>
To build:<br>
<ul>
<code> cd <cvs-root-dir>/jai-core<br>
ant</code>
</ul>
<p>The above steps build both the Java code for
javax.media.jai.* and com.sun.media.jai.*
packages. <br>
</p>
<p>The build will be placed in jai-core/build/<platform>/opt,
where <platform> is determined from the <code>ant
echo</code> command:
</p>
<ul>
<code>ant echo</code>
</ul>
Jar files are placed in <code>jai-core/build/<platform>/opt/lib/ext.</code>
Binaries for native libraries are part of the project and are copied to
the <code>jai-core/build/<platform>/opt/<jrenativesubdir></code>
directory as
part of the build, where <code><jrenativesubdir> </code>is
determined from the <code>ant
echo</code> command as above.<br>
<br>
To see other targets that are available, type "ant
-projecthelp". Note that ant must be run from the top-level
directory.
<h3><span style="font-weight: bold; text-decoration: underline;">Running
Java Advanced Imaging<br>
</span></h3>
To run Java Advanced Imaging, please checkout the <a
href="https://jai-demos.dev.java.net/">jai-demos</a> project and then
refer to <a href="../jai-demos/README-build.html">README-build.html</a>
in
jai-demos for
details
on building and running Java Advanced Imaging demo programs.
</body>
</html>