glpsol -m mod1.lp -o mod1.sol
https://www.gnu.org/software/glpk/
TBC
the JVM shared library
libjvm.dylib
does not cotain the JNI_CreateJavaVM symbol
If you are installing eclipse with the Eclipse installer, this can happen when the installer is not pointed to the correct jvm location. You can correct it as follows.
- Right click the installer file and select 'show package contents'
- Go to Contents and open Info.plist
- At the bottom of this file, you'll see a commented section with the tag -vm with some paths. You can set the correct JAVA_HOME path there and uncomment that section. (running echo $JAVA_HOME in console will get you the current setting)