Files
openbabel/scripts/java/README
Geoffrey Hutchison 1a078891f2 Merged revisions 1900-1914 via svnmerge from
https://openbabel.svn.sourceforge.net/svnroot/openbabel/openbabel/branches/openbabel-2-1-x

........
  r1900 | ghutchis | 2007-03-24 14:17:59 -0400 (Sat, 24 Mar 2007) | 4 lines
  
    * include/openbabel/atom.h, src/atom.cpp: Change SetVector to
    const parameter.
........
  r1901 | ghutchis | 2007-03-25 09:16:53 -0400 (Sun, 25 Mar 2007) | 2 lines
  
  Fix missing Makefile updates when I removed MMFF94 parameter files.
........
  r1902 | timvdm | 2007-03-25 09:38:42 -0400 (Sun, 25 Mar 2007) | 2 lines
  
  removed unused code from forcefield.cpp
........
  r1903 | ghutchis | 2007-03-25 11:46:16 -0400 (Sun, 25 Mar 2007) | 2 lines
  
  Removed unused mmff94validate (no MMFF94 support, so no reason to keep for 2.1)
........
  r1904 | ghutchis | 2007-03-26 11:37:13 -0400 (Mon, 26 Mar 2007) | 4 lines
  
    * tools/obprop.cpp (main): Fix PR#1688251 with while/for loop on
    CML files. Thanks to Tapani Kinnunen for the report.
........
  r1905 | ghutchis | 2007-03-26 11:41:08 -0400 (Mon, 26 Mar 2007) | 4 lines
  
    * src/formats/mol2format.cpp: Fix problem reported by Noel with
    "USER_CHARGES" appearing instead of Gasteiger.
........
  r1906 | ghutchis | 2007-03-26 11:41:28 -0400 (Mon, 26 Mar 2007) | 3 lines
  
    * src/data.cpp, src/groupcontrib.cpp: Fix doxygen warnings.
........
  r1907 | ghutchis | 2007-03-26 16:58:44 -0400 (Mon, 26 Mar 2007) | 7 lines
  
    * include/openbabel/groupcontrib.h: Documentation fixes.
  
    * NEWS: Minor fixes.
  
    * doc/*.1, doc/*.html: Documentation updates.
........
  r1908 | ghutchis | 2007-03-26 16:59:12 -0400 (Mon, 26 Mar 2007) | 2 lines
  
  Minor doc fix.
........
  r1909 | ghutchis | 2007-03-26 17:00:55 -0400 (Mon, 26 Mar 2007) | 2 lines
  
  Updates for change to OBAtom::SetVector const parameter
........
  r1910 | ghutchis | 2007-03-26 21:59:57 -0400 (Mon, 26 Mar 2007) | 4 lines
  
    * src/obconversion.cpp: Make sure to always return from any
    exception. Otherwise we could crash running code.
........
  r1911 | ghutchis | 2007-03-26 22:00:17 -0400 (Mon, 26 Mar 2007) | 4 lines
  
    * src/formats/mdlformat.cpp: Avoid infinite loop in
    ParseAliasText.
........
  r1912 | ghutchis | 2007-03-26 22:00:35 -0400 (Mon, 26 Mar 2007) | 3 lines
  
    * src/formats/acrformat.cpp: Minor formatting change.
........
  r1913 | ghutchis | 2007-03-26 22:08:00 -0400 (Mon, 26 Mar 2007) | 7 lines
  
    * test/Makefile.am, test/Makefile.in, test/wrapper.sh: Add
    inchiwrite tests to suite.
  
    * test/inchiwrite.cpp, test/inchi.pl: Formatting to integrate into
    Perl "prove" test suite.
........
  r1914 | ghutchis | 2007-03-29 15:31:57 -0400 (Thu, 29 Mar 2007) | 4 lines
  
          * scripts/: Updated interface wrappers, including new Java
          README. (Java is confirmed to work on Mac OS X.)
........
2007-04-13 18:57:13 +00:00

36 lines
1017 B
Plaintext

Open Babel for Java (JNI) 0.9
--------------------
This directory contains a set of SWIG-generated interface classes for
using the Open Babel C++ library from Java. It is currently
experimental and has not been thoroughly tested.
The Open Babel wiki pages on Java give information on compiling and
running Java programs with Open Babel:
http://openbabel.sourceforge.net/wiki/Java
*** Linux Compilation
To compile, run the following steps:
% javac *.java
# assuming that jni.h is found in /usr/include/java
% g++ -c -fpic openbabel_java.cpp -I../../include -I/usr/include/java
# assuming that the C++ libopenbabel is in /usr/local/lib
% g++ -shared -L/usr/local/lib openbabel_java.o -lopenbabel -o libopenbabel.so
*** Mac OS X Compliation
% javac *.java
% g++ -c -I/System/Library/Frameworks/JavaVM.framework/Headers \
openbabel_java.cpp
% g++ -dynamiclib -o libopenbabel.jnilib openbabel_java.o \
-framework JavaVM -L/usr/local/lib -lopenbabel
*** Running Programs
To run the OBTest program:
% java OBTest