Hi, I was excited to find this script... it is exactly what I need! However I cannot get it to compile... it seems I am missing some dependencies? the main error seems to read chemaxon.formats does not exist. I have MarvinBeans and JChem installed, machnine is 32 bit Linux. The classpath and path set as follows:
#.jars go below
export CLASSPATH=$/home/aiden/ChemAxon/MarvinBeans/lib/*:
#executables go below
export PATH=${PATH}:/home/aiden/ChemAxon/MarvinBeans/bin/*:/home/aiden/Desktop/openMAXWELL/FDA/*:.
and here is the full output of the error
aiden@aiden-ThinkPad-T400:~/Desktop/openMAXWELL/FDA$ javac -cp ".:./lib/MarvinBeans-beans.jar" ConvertToPdb.java
ConvertToPdb.java:4: error: package chemaxon.formats does not exist
import chemaxon.formats.MolExporter;
^
ConvertToPdb.java:5: error: package chemaxon.formats does not exist
import chemaxon.formats.MolFormatException;
^
ConvertToPdb.java:6: error: package chemaxon.formats does not exist
import chemaxon.formats.MolImporter;
^
ConvertToPdb.java:7: error: package chemaxon.struc does not exist
import chemaxon.struc.Molecule;
^
ConvertToPdb.java:32: error: cannot find symbol
public static void main(String[] args) throws MolFormatException, IOException {
^
symbol: class MolFormatException
location: class ConvertToPdb
ConvertToPdb.java:40: error: cannot find symbol
MolImporter mi = new MolImporter(new FileInputStream(args[0]), "smiles");
^
symbol: class MolImporter
location: class ConvertToPdb
ConvertToPdb.java:40: error: cannot find symbol
MolImporter mi = new MolImporter(new FileInputStream(args[0]), "smiles");
^
symbol: class MolImporter
location: class ConvertToPdb
ConvertToPdb.java:41: error: cannot find symbol
Molecule m = null;
^
symbol: class Molecule
location: class ConvertToPdb
ConvertToPdb.java:45: error: cannot find symbol
MolExporter exporter = new MolExporter(filename, "pdb");
^
symbol: class MolExporter
location: class ConvertToPdb
ConvertToPdb.java:45: error: cannot find symbol
MolExporter exporter = new MolExporter(filename, "pdb");
^
symbol: class MolExporter
location: class ConvertToPdb
10 errors
Thanks in advance! any help would be most appreciated