added japanese translation of javasci.
[scilab.git] / scilab / modules / javasci / help / ja_JP / javasci_faq.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA - Allan CORNET
6  *
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" scilab:needs-examples="no" xml:id="javasci_faq_v2" xml:lang="ja">
16     
17     <refnamediv>
18         
19         <refname>javasci FAQ</refname>
20         
21         <refpurpose>Javasci v2に関するFAQ</refpurpose>
22         
23     </refnamediv>
24     
25     <refsection>
26         
27         <title>質問 / 回答</title>
28         
29         <qandaset>
30             
31             <qandaentry>
32                 
33                 <question>
34                     
35                     <para>javasciに基づくアプリケーションを実行した際,エラー
36                         
37                         <emphasis role="italic">Exception in thread "main" java.lang.NoClassDefFoundError:
38                             
39                             org/scilab/modules/javasci/Scilab
40                             
41                         </emphasis>
42                         が発生しました.
43                         
44                     </para>
45                     
46                 </question>
47                 
48                 <answer>
49                     
50                     <para>
51                         
52                         おそらく,
53                         
54                         org.scilab.modules.javasci.jar が CLASSPATHで定義されていないと
55                         
56                         思われます.
57                         
58                         <link linkend="compile_and_run_javasci_v2">javasciでコンパイル/実行</link>
59                         
60                         参照ください.
61                         
62                     </para>
63                     
64                 </answer>
65                 
66             </qandaentry>
67             
68             <qandaentry>
69                 
70                 <question>
71                     
72                     <para>
73                         
74                         Linux/Unix/MacOSXで,ネーティブライブラリjavasci2が存在しない
75                         
76                         または見つかりません.
77                         
78                     </para>
79                     
80                 </question>
81                 
82                 <answer>
83                     
84                     <para>
85                         
86                         おそらく the java.library.path の値が設定されていません. 
87                         
88                         <link linkend="compile_and_run_javasci_v2">javasciでコンパイル/実行</link>
89                         
90                         参照ください.
91                         
92                     </para>
93                     
94                 </answer>
95                 
96             </qandaentry>
97             
98             <qandaentry>
99                 
100                 <question>
101                     
102                     <para>
103                         
104                         Windowsで, ネーティブライブラリ javasci.dll が存在しないまたは見つかりません.
105                         
106                     </para>
107                     
108                 </question>
109                 
110                 <answer>
111                     
112                     <para>環境変数 PATH が設定されていない可能性があります. 
113                         
114                         <link linkend="compile_and_run_javasci_v2">javasciでコンパイル/実行</link>
115                         
116                         参照ください.
117                         
118                     </para>
119                     
120                 </answer>
121                 
122             </qandaentry>
123             
124             <qandaentry>
125                 
126                 <question>
127                     
128                     <para>
129                         
130                         Linux/Unix/MacOSXで, java.library.path を設定した
131                         
132                         後でも,ネーティブライブラリjavasci2 が
133                         
134                         存在しないまたは見つかりません.
135                         
136                     </para>
137                     
138                 </question>
139                 
140                 <answer>
141                     
142                     <para>
143                         
144                         以下のようなエラーが発生した場合: <emphasis role="italic">java.lang.UnsatisfiedLinkError: /path/to/scilab/lib/scilab/libscilab.so.0.0.0: libsciparameters.so.5: cannot open shared object file: No such file or directory</emphasis>, 
145                         
146                         LD_LIBRARY_PATHにScilabネーティブライブラリが存在するパスを設定して
147                         
148                         みてください.
149                         
150                     </para>
151                     
152                 </answer>
153                 
154             </qandaentry>
155             
156             <qandaentry>
157                 
158                 <question>
159                     
160                     <para>
161                         
162                         Windowsで, PATHを設定した後でもネーティブライブラリ
163                         
164                         javasci.dll が存在しないまたは見つかりません.
165                         
166                     </para>
167                     
168                 </question>
169                 
170                 <answer>
171                     
172                     <para>
173                         
174                         以下のようなエラーが発生した場合: <emphasis role="italic">java.lang.UnsatisfiedLinkError: C:\Program Files\scilab-XXXX\bin\javasci.dll: The specified procedure could not be found</emphasis>, 
175                         
176                         環境変数PATHにより,Scilabライブラリと使用するシステム上の他のライブラリが
177                         
178                         衝突するようになった可能性があります.
179                         
180                         (PATH変数で)Scilabパスを他のパスの前に移動してみてください.
181                         
182                     </para>
183                     
184                 </answer>
185                 
186             </qandaentry>
187             
188             <qandaentry>
189                 
190                 <question>
191                     
192                     <para>
193                         
194                         Javasciプログラムが以下のように起動に失敗します:
195                         
196                         <emphasis role="italic">An exception occurred: Auto detection of SCI failed.
197                             
198                             Could not retrieve the variable SCI
199                             
200                         </emphasis>
201                         
202                     </para>
203                     
204                 </question>
205                 
206                 <answer>
207                     
208                     <para>
209                         
210                         SCIを, GNU/Linuxでは
211                         
212                         <emphasis role="italic">scilab-X.Y.Z/share/scilab/</emphasis>,
213                         
214                         Mac OS Xでは
215                         
216                         <emphasis role="italic">scilab-X.Y.Z/Contents/MacOS/share/scilab/</emphasis>,
217                         
218                         Windowsでは
219                         
220                         <emphasis role="italic">scilab-X.Y.Z/</emphasis>
221                         
222                         に設定する必要があります.
223                         
224                     </para>
225                     
226                 </answer>
227                 
228             </qandaentry>
229             
230             
231             
232             <qandaentry>
233                 
234                 <question>
235                     
236                     <para>
237                         
238                         グラフィックをプロットしようとしましたが,
239                         
240                         グラフィックが現れません.
241                         
242                     </para>
243                     
244                 </question>
245                 
246                 <answer>
247                     
248                     <para>
249                         
250                         論理値 <emphasis role="italic">true</emphasis>を指定して
251                         
252                         コンストラクタ
253                         
254                         (<emphasis role="italic">Scilab sci = new Scilab(true);</emphasis>) 
255                         
256                         をコールしたか確認してください.
257                         
258                         これにより, Scilab をアドバンスドモードで起動します.
259                         
260                     </para>
261                     
262                 </answer>
263                 
264             </qandaentry>
265             
266             <qandaentry>
267                 
268                 <question>
269                     
270                     <para>
271                         
272                         Javasciから既存のSwingアプリケーションにアタッチしようと
273                         
274                         しています.
275                         
276                         どのようにすればよいのでしょう?
277                         
278                     </para>
279                     
280                 </question>
281                 
282                 <answer>
283                     
284                     <para>
285                         
286                         現時点では, 簡単に行うことはできません.
287                         
288                         この機能は将来のバージョンのScilabで提供されます.
289                         
290                         いつもと同様, 貢献はウエルカムです!
291                         
292                     </para>
293                     
294                 </answer>
295                 
296             </qandaentry>
297             
298             <qandaentry>
299                 
300                 <question>
301                     
302                     <para>
303                         
304                         javasciからScilabグラフィックウインドウを管理する現在の手法は
305                         
306                         非常に大変とわかりました.
307                         
308                         どのようにすれば良いのでしょう?
309                         
310                     </para>
311                     
312                 </question>
313                 
314                 <answer>
315                     
316                     <para>
317                         
318                         困りましたね. 我々は現在のソリューションは完全とはほど遠いと認識しています.
319                         
320                         この制限に将来のリリースで対応したいと考えています.
321                         
322                     </para>
323                     
324                 </answer>
325                 
326             </qandaentry>
327             
328             <qandaentry>
329                 
330                 <question>
331                     
332                     <para>
333                         
334                         Scilabインスタンスが外部モジュールを有しますが,
335                         
336                         <literal>undefined symbol</literal>により起動に失敗しました:
337                         
338                     </para>
339                     
340                 </question>
341                 
342                 <answer>
343                     
344                     <para><literal>
345                             
346                             <emphasis role="italic">atomsLoad: An error occurred while loading 'module-0.0.2':  link : Library could not be loaded: /path/2.0-1/sci_gateway/c/../../src/cpp/libmy.so: undefined symbol: scirun_</emphasis>
347                             
348                         </literal>
349                         
350                         これには,2種類の解決策が考えられます.
351                         
352                         1番目は,
353                         
354                         シンボルを定義するライブラリを指定して構築することにより,
355                         
356                         モジュール自体を修正するものです.
357                         
358                         2番目は,未定義の変数が宣言されたライブラリを
359                         
360                         <literal>LD_PRELOAD=/path/to/the/lib/providing/the/symbol/libmy.so</literal>で
361                         
362                         定義することです.
363                         
364                     </para>
365                     
366                 </answer>
367                 
368             </qandaentry>
369             
370         </qandaset>
371         
372     </refsection>
373     
374     <refsection role="see also">
375         
376         <title>参照</title>
377         
378         <simplelist type="inline">
379             
380             <member>
381                 
382                 <link type="remote" linkend="javasci/javadoc/index.html">Javasci v2の文書</link> を閲覧(これによりWebブラウザがオープンします).
383                 
384             </member>
385             
386             <member>
387                 
388                 <link linkend="javasci">Javasci</link>
389                 
390             </member>
391             
392             <member>
393                 
394                 <link linkend="compile_and_run_javasci_v2">javasciでコンパイル/実行</link>
395                 
396             </member>
397             
398         </simplelist>
399         
400     </refsection>
401     
402 </refentry>
403