Menu

#11 Instructions do not work

v1.0 (example)
open
combean
None
5
2016-01-12
2016-01-12
Phil Troy
No

Hi!

I am trying to install swimp so I can use it from eclipse. I have tried both the instructions for the binary download and the sourcecode. I am wondering whether anyone is actively supporting this project.

I have tried the following (on Lubuntu 15.04 64 bit):

  • Downloaded swimp-0.9.5.tar.gz

  • extracted it into /mnt/userData/temp/TempProjects

  • cd into /mnt/userData/temp/TempProjects/swimp-0.9.5

  • . /swimpEnv.sh (note that there is no / on the web page but I guessed that was what you wanted; if there is a
    / it doesn't show in my locale (north america)

./swimpEnv.sh: 27: ./swimpEnv.sh: [[: not found
./swimpEnv.sh: 33: ./swimpEnv.sh: [[: not found

Settings:
CLASSPATH=/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/jakarta-commons- lang.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/jakarta-commons- logging.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/junit-addons-1.4.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/junit.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/log4j.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/lib/profiler.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osicbc.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osiclp.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osiglpk.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osimsk.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osisym.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp-osivol.jar:/mnt/userData/temp/TempProjects/swimp-0.9.5/dist/swimp.jar:
LD_LIBRARY_PATH=/mnt/userData/temp/TempProjects/swimp-0.9.5/dist:/mnt/userData/temp/TempProjects/swimp-0.9.5/coin:

  • I run ./probeSolvers.sh (which is probeSolver.sh on the web page)
    Error: Could not find or load main class net.sourceforge.swimp.probe.CoinProbe

  • I run java net.sourceforge.swimp.test.suites.AllCoinBinaryDistTests
    java net.sourceforge.swimp.test.suites.AllCoinBinaryDistTests

  • I run cd dist

  • I run java -cp swimp.jar net.sourceforge.swimp.test.suites.AllCoinBinaryDistTests

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: junit/framework/Test
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: junit.framework.Test
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

Please help!

Phil

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.