Advertisement
anntzer

cp.patch for cellprofiler-git

Oct 25th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.73 KB | None | 0 0
  1. diff -rupN cellprofiler-git/cellprofiler/utilities/jutil.py cellprofiler-fixed/cellprofiler/utilities/jutil.py
  2. --- cellprofiler-git/cellprofiler/utilities/jutil.py    2013-06-24 15:16:45.271728862 +0100
  3. +++ cellprofiler-fixed/cellprofiler/utilities/jutil.py  2013-06-24 15:17:32.675638319 +0100
  4. @@ -93,7 +93,7 @@ elif sys.platform.startswith('linux'):
  5.          path = os.path.join(path, 'cellprofiler','utilities')
  6.      else:
  7.          path = os.path.split(__file__)[0]
  8. -    p = subprocess.Popen(["java","-cp", path, "findlibjvm"],
  9. +    p = subprocess.Popen("dirname `find $JAVA_HOME -name libjvm.so -print -quit`", shell=True,
  10.                           stdout=subprocess.PIPE)
  11.      stdout, stderr = p.communicate()
  12.      jvm_dir = stdout.strip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement