22 |
url="gfdl.html">GNU Free Documentation License</ulink>.</para> |
url="gfdl.html">GNU Free Documentation License</ulink>.</para> |
23 |
</legalnotice> |
</legalnotice> |
24 |
|
|
25 |
<pubdate>Updated: Mon, 2 Apr 2007</pubdate> |
<pubdate>Updated: Thu, 17 May 2007</pubdate> |
26 |
</bookinfo> |
</bookinfo> |
27 |
|
|
28 |
<chapter> |
<chapter> |
107 |
Classic and Fantasia. However, for now the preferred choice is JS |
Classic and Fantasia. However, for now the preferred choice is JS |
108 |
Classic, because Fantasia is only partially implemented. The latest |
Classic, because Fantasia is only partially implemented. The latest |
109 |
version of JS Classic is available for download from <ulink |
version of JS Classic is available for download from <ulink |
110 |
url="http://downloads.sourceforge.net/jsampler/JS_Classic-0.4a.jar">here</ulink>.</para> |
url="http://downloads.sourceforge.net/jsampler/JS_Classic-0.5a.jar">here</ulink>.</para> |
111 |
|
|
112 |
<para>The source code is available in the <ulink |
<para>The source code is available in the <ulink |
113 |
url="http://downloads.sourceforge.net/jsampler/JSampler-0.4a.tar.bz2">JSampler |
url="http://downloads.sourceforge.net/jsampler/JSampler-0.5a.tar.bz2">JSampler |
114 |
package</ulink>, which also contains this manual and startup scripts |
package</ulink>, which also contains this manual and startup scripts |
115 |
that can be used to run a particular JSampler distribution.</para> |
that can be used to run a particular JSampler distribution.</para> |
116 |
|
|
125 |
<section> |
<section> |
126 |
<title id="requirements">Requirements</title> |
<title id="requirements">Requirements</title> |
127 |
|
|
128 |
<para>To run JSampler you need Java Runtime Environment (JRE) version 5 |
<para>To run JSampler you need Java Runtime Environment (JRE) version 6 |
129 |
or higher. The latest version can be downloaded from <ulink |
or higher. The latest version can be downloaded from <ulink |
130 |
url="http://java.sun.com/javase/downloads/">here</ulink>.</para> |
url="http://java.sun.com/javase/downloads/">here</ulink>.</para> |
131 |
|
|
132 |
<para>To build JSampler distribution from source you need JDK version |
<para>To build JSampler distribution from source you need JDK version |
133 |
5.0 or higher and the <ulink url="http://ant.apache.org/">Ant |
6.0 or higher and the <ulink url="http://ant.apache.org/">Ant |
134 |
tool</ulink>.</para> |
tool</ulink>.</para> |
135 |
</section> |
</section> |
136 |
|
|
138 |
<title id="running-js-dist">Running a JSampler distribution</title> |
<title id="running-js-dist">Running a JSampler distribution</title> |
139 |
|
|
140 |
<para>Let's assume that you want to run from the command line |
<para>Let's assume that you want to run from the command line |
141 |
<code>JS_Classic-0.4a.jar</code>, which is located in |
<code>JS_Classic-0.5a.jar</code>, which is located in |
142 |
<code>/home/me/soft</code> directory. First you should check whether the |
<code>/home/me/soft</code> directory. First you should check whether the |
143 |
<code>java</code> command is in your path and the version requirements |
<code>java</code> command is in your path and the version requirements |
144 |
are met. This can be done by issuing the following command:</para> |
are met. This can be done by issuing the following command:</para> |
145 |
|
|
146 |
<para><command>java -version</command></para> |
<para><command>java -version</command></para> |
147 |
|
|
148 |
<para>If the version is 1.5.0 or higher you can run JS Classic by |
<para>If the version is 1.6.0 or higher you can run JS Classic by |
149 |
issuing the following command:</para> |
issuing the following command:</para> |
150 |
|
|
151 |
<para><command>java -jar |
<para><command>java -jar |
152 |
/home/me/soft/JS_Classic-0.4a.jar</command></para> |
/home/me/soft/JS_Classic-0.5a.jar</command></para> |
153 |
|
|
154 |
<para>Otherwise, if the shell response is something like</para> |
<para>Otherwise, if the shell response is something like</para> |
155 |
|
|
177 |
Classic issue the following command:</para> |
Classic issue the following command:</para> |
178 |
|
|
179 |
<para><command>/opt/jdk1.6.0/bin/java -jar |
<para><command>/opt/jdk1.6.0/bin/java -jar |
180 |
/home/me/soft/JS_Classic-0.4a.jar</command></para> |
/home/me/soft/JS_Classic-0.5a.jar</command></para> |
181 |
|
|
182 |
<para><note> |
<para><note> |
183 |
<para>On some systems double clicking on the jar file will be |
<para>On some systems double clicking on the jar file will be |
190 |
|
|
191 |
<para>There are scripts In the <code>scripts</code> directory of the |
<para>There are scripts In the <code>scripts</code> directory of the |
192 |
<ulink |
<ulink |
193 |
url="http://downloads.sourceforge.net/jsampler/JSampler-0.4a.tar.bz2">JSampler |
url="http://downloads.sourceforge.net/jsampler/JSampler-0.5a.tar.bz2">JSampler |
194 |
package</ulink> that, with a little adjustments (if needed), can be used |
package</ulink> that, with a little adjustments (if needed), can be used |
195 |
to run a JSampler distribution. Copy them to a desired location and edit |
to run a JSampler distribution. Copy them to a desired location and edit |
196 |
with your preferred editor.</para> |
with your preferred editor.</para> |
285 |
directory:</para> |
directory:</para> |
286 |
|
|
287 |
<para><literallayout><command>cd /home/me/soft |
<para><literallayout><command>cd /home/me/soft |
288 |
wget -c http://downloads.sourceforge.net/jlscp/jlscp-0.4a.tar.bz2 |
wget -c http://downloads.sourceforge.net/jlscp/jlscp-0.5a.tar.bz2 |
289 |
tar -xjf jlscp-0.4a.tar.bz2 |
tar -xjf jlscp-0.5a.tar.bz2 |
290 |
wget -c http://downloads.sourceforge.net/juife/juife-0.4a.tar.bz2 |
wget -c http://downloads.sourceforge.net/juife/juife-0.4a.tar.bz2 |
291 |
tar -xjf juife-0.4a.tar.bz2 |
tar -xjf juife-0.4a.tar.bz2 |
292 |
cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co jsampler |
cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co jsampler |
293 |
cd jsampler |
cd jsampler |
294 |
mkdirhier lib/required |
mkdirhier lib/required |
295 |
cp ../jlscp-0.4a/lib/jlscp.jar lib/required/jlscp.jar |
cp ../jlscp-0.5a/lib/jlscp.jar lib/required/jlscp.jar |
296 |
cp ../juife-0.4a/lib/juife.jar lib/required/juife.jar</command></literallayout></para> |
cp ../juife-0.4a/lib/juife.jar lib/required/juife.jar</command></literallayout></para> |
297 |
|
|
298 |
<para>Then follow the steps in the next section.</para> |
<para>Then follow the steps in the next section.</para> |