openmolecules.org

 
Home » DataWarrior » Bug Reports » Chemaxon PKA (java exception occuring)
Chemaxon PKA (java exception occuring) [message #2416] Wed, 28 May 2025 13:24 Go to next message
jeffchem is currently offline  jeffchem
Messages: 2
Registered: May 2025
Junior Member
Hi DataWarrior folks.

I'm having an issue with the Chemaxon PKA calculation.

I'm trying to calculate the higest basic pKa; ChemAxon method under the Ionization section.
a) I have chemaxon license.
b) I am using the capka.jar (downloaded from Chemaxon site)
c) cLogD at ph=7.4; via logP and ChemAxon pKa works fine.

When I run DataWarrior from the command line and print to a log file. DataWarior.exe > out.txt
I can see that there is an exception occuring in the java code.
Unexpected ChemAxon Exception:java.lang.NoSuchMethodError: 'void chemaxon.marvin.calculations.pKaPlugin.setMolecule(chemaxon. struc.Molecule)'

Has anyone else encountered this issue? Any work arounds?
Re: Chemaxon PKA (java exception occuring) [message #2418 is a reply to message #2416] Fri, 30 May 2025 14:38 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 731
Registered: June 2014
Senior Member
it looks like DataWarrior doesn't find the capka.jar when you start from the command line. If you launch datawarrior_xxx.jar from the command line on any platform, then you could add the capka.jar to the class path. If you just start DataWarrior.exe on Windows, you should make sure that the working directory for DataWarrior is the installation directory...
Re: Chemaxon PKA (java exception occuring) [message #2419 is a reply to message #2418] Mon, 02 June 2025 23:02 Go to previous message
jeffchem is currently offline  jeffchem
Messages: 2
Registered: May 2025
Junior Member
Hi Thomas,

I respectfully disagree.
It appears to me running Datawarrior via the command line is picking up the capka.jar correctly.
When I'm running from the command line, I'm execute from within the installation directory: c:\Program Files\DataWarrior

If I rename my capka.jar to xx_capka.jar then all of the chemaxon options are all greyed as one would expect. So to me that suggests DataWarrior is recognizing the capka.jar via the command line.

I only attempted to run from the command line to find some hint as to why the acidic pka & basic pka under the ionization section are not working. Neither of these calculations work regardless of normal or via command line.

It seems the capka.jar that is downloaded from Chemaxon isn't compatible with these two calculations.













Previous Topic: File>Merge Files could not match column names
Goto Forum:
  


Current Time: Tue Jun 03 22:07:13 CEST 2025

Total time taken to generate the page: 0.03109 seconds