[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Need help in installing GLPK-java in mac os x 10.7.5
From: |
Heinrich Schuchardt |
Subject: |
Re: [Help-glpk] Need help in installing GLPK-java in mac os x 10.7.5 |
Date: |
Thu, 25 Jan 2018 17:40:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
Hello Syed,
the *.dylib files for GLPK and GLPK for Java must be in the search path
for binary libraries.
The relevant environment variables can be found in
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html
Best regards
Heinrich
On 01/25/2018 05:14 AM, Syed Reazul Elahee wrote:
> Thank you . I have successfully build glpk-java in my mac . I can see
> glpsol version from terminal .
>
> glpk-java-javadoc.jar,glpk-java-sources.jar and glpk-java.jar files
> created inside swig directory .
>
> i have used this jars in my java project . when i run my project i am
> getting a new error message
>
> " *The dynamic link library for GLPK for java could not be loaded .
> Consider using java -Djava.library.path=The current value of system
> property java.library.path is :
> /Users/elahee/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.*"
>
>
> any solution ?
>
>
> On বুধবার 24 জানু 2018 03:25 অপরাহ্ণ, Heinrich Schuchardt wrote:
>> Did you install the JDK?
>>
>> Did you export the necessary environment variables?
>>
>> http://glpk-java.sourceforge.net/gettingStarted.html
>>
>> The paths to jni.h differ between Linux and OS X.
>>
>> Am 24.01.18, 09:58, Syed Reazul Elahee <address@hidden>
>> schrieb:
>>
>> i have downloaded libglpk-java-1.11.0 and tried to configure . but
>> it is giving an error , saying "*jni.h not found* " .
>>
>> What to do next ?
>>
>>
>> On বুধবার 24 জানু 2018 11:17 পূর্বাহ্ণ, Heinrich Schuchardt wrote:
>>> Hello Syed,
>>>
>>> brew install swig
>>>
>>> then build GLPK for Java from source available at
>>> http://glpk-java.sourceforge.net/
>>>
>>> Best regards
>>>
>>> Heinrich
>>> Am 24.01.18, 06:00, Syed Reazul Elahee
>>> <address@hidden> schrieb:
>>>
>>> Hello ,
>>>
>>> I have successfully installed glpk in mac osx 10.7.5 by*brew
>>> install glpk* comand . From terminal i can see glpk version
>>> *4.64***by typing*glpsol* comand .
>>>
>>> Now i need glpk-jar jar files to add in my netbeans project .
>>> But i do not find any jar for mac .Do i have to build jar
>>> from source ? if yes , the how ?
>>>
>>> Please help
>>>
>>> --
>>>
>>> Syed Reazul Elahee
>>> Trainee Programmer
>>> Sysnova Information Systems Limited
>>> (Sister concern of Kazi Farms Group)
>>> Ahmad and Kazi Tower
>>> 35 Dhanmandi Road 2
>>> Dhaka 1205
>>> Bangladesh
>>> www.sysnova.com
>>>
>>> _______________________________________________ Help-glpk
>>> mailing list address@hidden
>>> https://lists.gnu.org/mailman/listinfo/help-glpk
>>>
>>
>> --
>>
>> Syed Reazul Elahee
>> Trainee Programmer
>> Sysnova Information Systems Limited
>> (Sister concern of Kazi Farms Group)
>> Ahmad and Kazi Tower
>> 35 Dhanmandi Road 2
>> Dhaka 1205
>> Bangladesh
>> www.sysnova.com
>>
>
> --
>
> Syed Reazul Elahee
> Trainee Programmer
> Sysnova Information Systems Limited
> (Sister concern of Kazi Farms Group)
> Ahmad and Kazi Tower
> 35 Dhanmandi Road 2
> Dhaka 1205
> Bangladesh
> www.sysnova.com
>