[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: Installing GLPK on Windows]
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] [Fwd: Installing GLPK on Windows] |
Date: |
Fri, 11 Nov 2011 23:00:54 +0100 |
Hello Raymond,
please, register for the GLPK help list as described
https://lists.gnu.org/mailman/listinfo/help-glpk
otherwise your mails have to be forwarded manually.
Compiled binaries including the jar files are available at
http://sourceforge.net/projects/winglpk/
The batch file I used for building is included or you find it at
http://winglpk.svn.sourceforge.net/viewvc/winglpk/trunk/Build_WinGLPK.bat
Some of the tools used are provided by
http://gnuwin32.sourceforge.net/
If you prefer to compile yourself and get stuck, please, provide the
output of
glpk-4.47\w64\Build_GLPK_with_VC10_DLL.bat
and of
glpk-4.47\w64\Build_JNI_with_VC10_DLL.bat
(assuming 64bit Windows)
Best regards
Xypron
-------- Original-Nachricht --------
> Datum: Fri, 11 Nov 2011 03:01:32 +0300
> Betreff: [Help-glpk] [Fwd: Installing GLPK on Windows]
> -------- Forwarded Message --------
> From: Powers II II, Raymond J <address@hidden>
> Date: Thu, 10 Nov 2011 12:29:38 -0500 (EST)
>
> Hello,
>
> I am trying to install GLPK on my windows machine. I am trying to get the
> .jar file that I can use with Java so I can use data from a program as
> inputs into the solver, use GLPK to solve, and then use the solution.
>
> Currently when I run the Batch File, I am getting errors that state:
>
> java.lang.NoClassDefFoundError:
> for GLPK, glp_iocp,GLPKConstants, and others.
>
> I have successfully run the Build_GLPK_with_VC10_DLL batch file, and it
> returned Optimal Solution Found
> The same results on running Build_GLPK_with_VC10 batch file.
>
> I have changed the initial set HOME, SWIG, and SKD to the proper
> directories. I have JAVA_HOME set correctly.
> The batch file has no stated errors until it runs check_jni.bat.
>
> 5 files are copied into src\main\java\org\gnu\glpk:
> GlpkCallback
> GlpkCallbackListener
> GlpkException
> GlpkTerminal
> GlpkTerminalListener
>
> the APIdocs are all created and indexes are created.
>
> I am at a loss as to what to do. I have tried both the batch files in the
> standard winglpk-4.47 as well as in libglpk-java-1.0.1.9, and have
> everything installed that is required.
>
> - R. John Powers
--
Follow me at http://twitter.com/#!/xypron
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone