get this working with a jar instead of a directory full of class files

This commit is contained in:
Greg Landrum
2008-07-04 04:18:58 +00:00
parent 3cd8d1cd7e
commit 4d75f40534
6 changed files with 14 additions and 15 deletions

View File

@@ -3,11 +3,9 @@
//
// @@ All Rights Reserved @@
import org.junit.*;
import static org.junit.Assert.*;
import org.RDKit.*;
public class main {
static {
try {
System.loadLibrary("RDKFuncs");
@@ -16,10 +14,8 @@ public class main {
System.exit(1);
}
}
public static void main(String argv[]) {
String smiles="c1ccccc1";
//RDKitMol mol= RDKFuncs.MolFromSmiles(smiles);
ROMol mol= RDKFuncs.MolFromSmiles(smiles);
long nAtoms = mol.getNumAtoms();
System.out.println("nAtoms: " + nAtoms);