[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: Re: Some question about GLPK for Java]
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] [Fwd: Re: Some question about GLPK for Java] |
Date: |
Thu, 14 Jun 2012 22:38:18 +0200 |
Dear Chung,
your mail had to be forwarded manually because you are not subscribed
to the GLPK help list, cf.
https://lists.gnu.org/mailman/listinfo/help-glpk
> "java -Djava.library.path="C:Program Files\GLPK\glpk-4.47\w64" Test"
Unfortunately the error message contains chinese letters, hence
I do not know the meaning of the error message. (Babelfish proposes 內置圖片 =>
"Built-in picture") If you are using Windows Ultimate you should be able
install an English language pack.
You will want to specify a classpath containing Test.class and
glpk-java.jar, e.g.
-classpath .;"C:\Program Files\GLPK\glpk-4.47\w64\glpk-java.jar"
> 5. Setup CLASSPATH=C:\Program Files\GLPK\glpk-4.47\w64
> \glpk-java.jar
As "program files" has a space you will need quotations marks.
Best regards
Xypron
> -------- Forwarded Message --------
> 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 mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a