java runtime environment question

User 6288f3e087

11-04-2011 22:25:56

Hi:


I'm not sure if this is the right place to post this, but here it goes.


I am trying to run jcsearch multiple times using linux. Every time I call jcsearch, the calculation takes much longer than it should because it's calling the java runtime environment. I was wondering if there was a way to avoid this issue so that I can call jcsearch from within the environment.


As you can see, I'm no expert on java, but was unable to find information anywhere else.


Thanks!

ChemAxon a3d59b832c

12-04-2011 10:11:54

Hi Roberto,


jcsearch can take multiple targets at the same time. So if you happen to use multiple jcsearch calls to search the same query on different files, you can do that in one go.


Even multiple queries are also possible, see the --or and --and parameters.


 


If your case is different, you may write a Java program that runs multiple searches.


This section of the developers guide describes what to do:


http://www.chemaxon.com/jchem/doc/dev/search/index.html#searchmem


 


Best regards,


Szabolcs

User 6288f3e087

12-04-2011 15:40:41

Szabolcs:


Thanks for the reply. Yes, I've played with the --and --or commands of jcsearch, but I need results to come back one at a time. Thank you for copying the link. I'll take a close look on how I can write a java program that searches this. I've been looking for something similar in the examples (see my post https://www.chemaxon.com/forum/ftopic7458.html&highlight=) but have come up with the compilation issues that I haven't fully resolved. 


Thanks again,


Roberto









 


If your case is different, you may write a Java program that runs multiple searches.


This section of the developers guide describes what to do:


http://www.chemaxon.com/jchem/doc/dev/search/index.html#searchmem


 


Best regards,


Szabolcs