1 |
Petteri Räty wrote: |
2 |
> Peter B. West wrote: |
3 |
> |
4 |
>>What's the story with jai? When I install jai, I get some messages |
5 |
>>about usage, involving very convoluted arguments to java. |
6 |
>> |
7 |
>>Peter |
8 |
> |
9 |
> |
10 |
> Well the message is useful if you want to use sun-jai-bin in your own |
11 |
> projects. Our applications should install wrapper scripts that do this |
12 |
> for you automatically. sun-jai-bin installs a jar file and a native |
13 |
> library on x86. So to use you need to give java both of these files as |
14 |
> arguments and this can be done using java-config. Actually all of our |
15 |
> libraries could have these types of instructions but I think that those |
16 |
> who want to code against libraries know how to use them. I don't know |
17 |
> the history behind the instructions but they have been added there for |
18 |
> some reason. Please feel free to provide a better one and I will update |
19 |
> the ebuild. |
20 |
> |
21 |
> Regards, |
22 |
> Petteri Räty (Betelgeuse) |
23 |
> |
24 |
|
25 |
Ok. So I link from .../jre/lib/ext and .../jre/lib/i386 to the jars in |
26 |
/usr/share/jai-bin and /opt/jai-bin, and forget about the args and |
27 |
wrappers. Will this break anything? |
28 |
|
29 |
Peter |
30 |
-- |
31 |
Peter B. West <http://cv.pbw.id.au/> |
32 |
Folio <http://defoe.sourceforge.net/folio/> |