Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39576
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java Jython RDKit, some progress, still confused |
| Date | Tue, 21 Jul 2020 01:53:48 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 54 |
| Message-ID | <rf5aqd$tod$1@dont-email.me> (permalink) |
| References | <rcapvi$mnr$1@reader1.panix.com> <refjqu$cpg$1@reader1.panix.com> <rehno6$23s$1@reader1.panix.com> <rei9eq$i5m$1@reader1.panix.com> <reif8g$ipp$1@dont-email.me> <repvf4$kjo$6@reader1.panix.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 20 Jul 2020 23:53:49 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="fa9bb570e30063a331e44c0f91f33b50"; logging-data="30477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+52DNSwnTrn+7okMJ1Ogx5" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
| Cancel-Lock | sha1:RR88ZS0dCI+fgqB10PbxtsN/99I= |
| In-Reply-To | <repvf4$kjo$6@reader1.panix.com> |
| X-Antivirus-Status | Clean |
| Content-Language | en-US |
| X-Antivirus | AVG (VPS 200720-4, 07/20/2020), Outbound message |
| Xref | csiph.com comp.lang.java.programmer:39576 |
Show key headers only | View raw
On 2020-07-16 18:32, vjp2.at@at.BioStrategist.dot.dot.com wrote:
> I'm really tired of this, so I can see why others might be too.
> Profue apologise and many thanks for your patience.
>
> But I broke it down to defined files.dirs, dir dir lists of them to be sure
> they weren't typos. THe rror messages are not all for this version, I just
> accumulated them and I fully expect them to reappear ('.`)
>
> @echo off
> SET RD_HOME=.
> SET JAVA_HOME=..\CommonFiles\JAVA
> SET JAVA_COMMAND=%JAVA_HOME%\bin\java.exe
> SET rdk=%RD_HOME%\rdkit-master\Code\JavaWrappers\gmwrapper\org.RDKit.jar
> set jyt="%JAVA_HOME%"\bin\jython-standalone-2.5.4-rc1.jar.jar
> set jlp="%RD_HOME%"\rdkit-master\Code\JavaWrappers\gmwrapper
>
> rem -verbose:class
>
> "%JAVA_COMMAND%" -Xmx256m -classpath "%rdk%;%jyt%" -Djava.library.path=%jlp% | more
>
> pause
>
>
> rem Loaded java.lang.Shutdown lib\rt.jar
>
> rem from java import lang works only if preceded by from java.lang import *
>
> rem ImportError: No module named RKDit
>
> rem java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: org.RDKit.jar Could not find the main class:
>
> rem The system cannot find the path specified. '-Djava.library.path' is not recognized as
>
> rem help() ImportError: No module named pydoc
>
> rem | "%RD_HOME%"\rdkit.py
> :END
>
The syntax for launching Java (well, one of them, but the one you want) is:
java.exe [OPTIONS] -classpath [CLASSPATH] -jar [JYTHON-JAR] [JYTHON
ARGUMENTS]
Replace "from java import lang" with "from java.lang import *", as the
warning tells you, then run:
"%JAVA_COMMAND%" -Xmx256m -classpath "%rdk%" -jar %jyt
-Djava.library.path=%jlp% [PATH TO YOUR PYTHON SCRIPT]
I'm pretty sure it's not rocket science. You just gotta be careful with
the details.
--
DF.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-16 15:54 +0000
Re: Java Jython RDKit, some progress, still confused Martin Gregorie <martin@mydomain.invalid> - 2020-06-16 19:54 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-07 12:40 +0000
Re: Java Jython RDKit, some progress, still confused Martin Gregorie <martin@mydomain.invalid> - 2020-07-07 13:09 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-07 18:06 +0000
Re: Java Jython RDKit, some progress, still confused Martin Gregorie <martin@mydomain.invalid> - 2020-07-07 19:23 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-07 20:11 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-08 11:32 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-08 13:40 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-08 15:30 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-08 17:04 +0000
Re: Java Jython RDKit, some progress, still confused "C.D. Altenburg, Ph.D," <cdalten@gmail.com> - 2020-07-08 11:13 -0700
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-08 18:33 +0000
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-08 22:19 +0200
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-08 22:23 +0200
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-11 19:12 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-12 17:24 +0000
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-21 01:46 +0200
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-16 22:32 +0200
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-16 20:40 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-17 15:58 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-17 20:43 +0000
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-18 16:15 +0200
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-06-18 18:40 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-12 17:42 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-12 18:12 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-13 13:31 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-13 18:34 +0000
Re: Java Jython RDKit, some progress, still confused Eric Sosman <esosman@comcast-dot-net.invalid> - 2020-07-13 16:13 -0400
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-16 16:29 +0000
Re: Java Jython RDKit, some progress, still confused vjp2.at@at.BioStrategist.dot.dot.com - 2020-07-16 16:32 +0000
Re: Java Jython RDKit, some progress, still confused "C.D. Altenburg, Ph.D," <cdalten@gmail.com> - 2020-07-17 08:42 -0700
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-21 01:53 +0200
Re: Java Jython RDKit, some progress, still confused Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-07-21 01:55 +0200
Re: Java Jython RDKit, some progress, still confused rahul kumar <lingmaaki@gmail.com> - 2020-09-15 22:41 -0700
csiph-web