[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] [Fwd: Re: Some question about GLPK for Java]
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] [Fwd: Re: Some question about GLPK for Java] |
Date: |
Thu, 14 Jun 2012 20:49:55 +0400 |
-------- Forwarded Message --------
From: 周宗毅 <address@hidden>
To: address@hidden, address@hidden
Subject: Re: Some question about GLPK for Java
Date: Fri, 15 Jun 2012 00:20:28 +0800
Dear Author ,
When I used "javac -classpath "C:\Program Files\GLPK\glpk-4.47\w64
\glpk-java.jar" Test.java "
It works fine!
But when I wanted to executed this class by command
"java -Djava.library.path="C:Program Files\GLPK\glpk-4.47\w64" Test"
It met error 內置圖片 1
How could I do with that?
Thank you :)
Chung Yi
2012/6/14 周宗毅 <address@hidden>
Dear Author ,
Hello , thank you for developing GLPK for java.
This is very useful!
I met some question about using this in my computer.
I followed the web
page http://glpk-java.sourceforge.net/gettingStarted.html to get
started.
But it doesn't work.
Here is my step ,
1. Download the "winglpk" from sourceforge.
2. Unzip it and copy the folder "glpk-4.47" to "C:\Program Files
\GLPK\".
3. Copy "glpk_4_47.dll" to "C:\Windows\System32\"
4. Executed command "C:\Program Files\GLPK\glpk-4.47\w64
\glpsol.exe" --version , it works fine!
5. Setup CLASSPATH=C:\Program Files\GLPK\glpk-4.47\w64
\glpk-java.jar
6. Executed command ""%JAVA_HOME%/bin/javac" Test.java" or
"javac Test.java"
(Test.java is the same as web example.)
It occurred that "package org,gnu.glpk does not exist "
Is this something I did wrong? Or some step I made mistake?
Or some other tutorial could be offered?
Thanks for your help. :)
Best Regards ,
Chung Yi
--
周宗毅 Chung-Yi Chou
SCOPELab, CS Department NTHU
Hsin-Chu, Taiwan, R.O.C
E mail : address@hidden
--
周宗毅 Chung-Yi Chou
SCOPELab, CS Department NTHU
Hsin-Chu, Taiwan, R.O.C
E mail : address@hidden
- [Help-glpk] [Fwd: Re: Some question about GLPK for Java],
Andrew Makhorin <=