Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail From: vjp2.at@at.BioStrategist.dot.dot.com Newsgroups: comp.lang.java.programmer Subject: Re: Java Jython RDKit, some progress, still confused Date: Wed, 8 Jul 2020 13:40:29 +0000 (UTC) Organization: Samani Marions Panyaught NYC-11357-3436-287-USA Lines: 42 Message-ID: References: NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1594215629 29757 166.84.1.2 (8 Jul 2020 13:40:29 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 8 Jul 2020 13:40:29 +0000 (UTC) User-Agent: tin/2.4.4-20191224 ("Millburn") (NetBSD/9.0 (amd64)) Xref: csiph.com comp.lang.java.programmer:39545 YOu are not going to believe this (I don't) but this runs: the -jar wasn't part of their instructions but they had : jython after the jython jar, which I removed. Now, I ran the initial statements and I got no complaints, but I also don't have any clue if it actually works from org.RDKit import * from java import lang lang.System.loadLibrary('GraphMolWrap') m = RWMol.MolFromSmiles('c1ccccc1') m.getNumAtoms() Each line just returns the jython >>> prompt. But I'm relieved. For now. Many thanks to all. @echo off SET RD_HOME=. SET JAVA_HOME=..\CommonFiles\JAVA SET JAVA_COMMAND=%JAVA_HOME%\bin\java.exe SET LOCAL_CLASSPATH=%RD_HOME%\rdkit-masterCode\JavaWrappers\gmwrapper\org.RDKit.jar "%JAVA_COMMAND%" -Xmx256m -classpath "%LOCAL_CLASSPATH%" -jar "%JAVA_HOME%"\bin\jython-standalone-2.5.jar -Djava.library.path="%RD_HOME%"\rdkit-masterCode\JavaWrappers\gmwrapper :END - = - Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus blog: panix.com/~vjp2/ruminatn.htm - = - web: panix.com/~vjp2/vasos.htm facebook.com/vasjpan2 - linkedin.com/in/vasjpan02 - biostrategist.com ---{Nothing herein constitutes advice. Everything fully disclaimed.}---