Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39499
| Path | csiph.com!xmission!news.snarked.org!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: What's wrong with this Java Jython call? |
| Date | Sat, 13 Jun 2020 11:15:11 +0000 (UTC) |
| Organization | Samani Marions Panyaught NYC-11357-3436-287-USA |
| Lines | 44 |
| Message-ID | <rc2cfu$lul$1@reader1.panix.com> (permalink) |
| References | <rau7st$qme$1@reader1.panix.com> <raucre$g2o$1@dont-email.me> <rbdn79$dec$1@reader1.panix.com> <rbebve$9qs$2@dont-email.me> <rbec7f$c37$1@dont-email.me> <rbg6jn$41t$2@reader1.panix.com> <rbgoch$d3a$1@reader1.panix.com> <rbgr5h$ddu$1@dont-email.me> |
| NNTP-Posting-Host | panix1.panix.com |
| X-Trace | reader1.panix.com 1592046911 22485 166.84.1.1 (13 Jun 2020 11:15:11 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Sat, 13 Jun 2020 11:15:11 +0000 (UTC) |
| User-Agent | tin/2.4.4-20191224 ("Millburn") (NetBSD/8.1 (amd64)) |
| Xref | csiph.com comp.lang.java.programmer:39499 |
Show key headers only | View raw
First, many thanks.
Here's where I am.
1. Is the ";jython" correct?
2. I added -jar to run jython alone
3. the "wrappers" are files with extension .i
4. I posted a question on the RDKIT sourceforce list, no reply
5. Yes, I removed the script, but how do I use it to init then return to
prompt? TEE? |?
Thanks again
@echo off
SET RD_HOME=.
SET JAVA_HOME=..\CommonFiles\JAVA
SET JAVA_COMMAND=%JAVA_HOME%\bin\java.exe
SET LOCAL_CLASSPATH=%RD_HOME%\org.RDKit.jar
"%JAVA_COMMAND%" -classpath "%LOCAL_CLASSPATH%" -jar "%JAVA_HOME%"\jython-standalone-2.5.jar; jython -Djava.library.path="%RD_HOME%"\rdkit-master\Code\JavaWrappers\gmwrapper
rem if remove semicolon complains jython not found in rdkit - of course it's in common
rem able to run jython as jar run print "hello" or print 3+4
rem some docs have rdkit.jar in gmwrapper; what are dlls but no exe doing here?
pause
rem < "%RD_HOME%"\start.rdk
rem how can I run this and return to prompt?
:END
rem these are in start.rdk
rem from org.RDKit import *
rem from java import lang
rem lang.System.loadLibrary('GraphMolWrap')
rem m = RWMol.MolFromSmiles('c1ccccc1')
rem m.getNumAtoms()
6L
- = -
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.}---
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What's wrong with this Java call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-05-30 18:15 +0000
Re: What's wrong with this Java call? Eric Sosman <esosman@comcast-dot-net.invalid> - 2020-05-30 15:40 -0400
Re: What's wrong with this Java call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-05-31 07:07 +0000
Re: What's wrong with this Java Jython call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-05 15:09 +0000
Re: What's wrong with this Java Jython call? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-05 23:03 +0200
Re: What's wrong with this Java Jython call? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-05 23:07 +0200
Re: What's wrong with this Java Jython call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-06 13:44 +0000
Re: What's wrong with this Java Jython call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-06 18:47 +0000
Re: What's wrong with this Java Jython call? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-06 21:35 +0200
Re: What's wrong with this Java Jython call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-13 11:15 +0000
Re: What's wrong with this Java Jython call? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-14 16:23 +0200
Re: What's wrong with this Java Jython call? vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-15 10:10 +0000
csiph-web