On 10/28/2010 04:15 PM, [email protected] wrote:
> oj_linux.sh is also use for other unixes, despite it's name.
>
> OSX's readlink for example unfortunately has no -f switch .. will think about 
> it .. thanks ede

Ah, I see. Well, the currently used -n switch simply doesn't work on my 
system (returning the relative link, instead of the absolute path to 
java), while with the -f switch it works...

Vincent.

>
> On 28.10.2010 14:31, Vincent Schut wrote:
>> Hi,
>>
>> in oj 1.4's oj_linux.sh there is a iterative readlink $JAVA (line 50) to
>> find java's real path. However, on my system (arch linux) `which java`
>> gives /opt/java/bin/java, which is a symlink '../jre/bin/java'. This
>> confuses oj, as it tries to resolve this symlink from its current path.
>> Better use 'readlink -f' which will give the canonical path instead of
>> the link value, which then becomes /opt/java/jre/bin/java, which works OK.
>>
>> Best,
>> Vincent Schut.
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps&   games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to