User 746708b25a
18-12-2015 21:39:33
Was previously using JChem 5.9.3 and could successfully run
LicenseManager.setLicenseFile("/home/ubuntu/.chemaxon/license.cxl")
Now, I get the following error after upgrading to version 15.6.1
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
ammonite.interpreter.Interpreter$$anonfun$process$1$$anonfun$apply$21$$anonfun$apply$24$$anonfun$apply$25$$anonfun$11.apply(Interpreter.scala:259)
java.lang.NoClassDefFoundError: chemaxon/util/LoggingUtil
chemaxon.license.LicenseHandler.<clinit>(LicenseHandler.java:199)
chemaxon.license.LicenseManager.setLicenseFile(LicenseManager.java:354)
cmd3$$user$$anonfun$1.apply$mcV$sp(Main.scala:80)
cmd3$$user.<init>(Main.scala:81)
cmd3.<init>(Main.scala:85)
cmd3$.<init>(Main.scala:59)
cmd3$.<clinit>(Main.scala)
cmd3$Main$.$main(Main.scala:54)
cmd3$Main.$main(Main.scala)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
ammonite.interpreter.Interpreter$$anonfun$process$1$$anonfun$apply$21$$anonfun$apply$24$$anonfun$apply$25$$anonfun$11.apply(Interpreter.scala:259)
java.lang.ClassNotFoundException: chemaxon.util.LoggingUtil
java.net.URLClassLoader$1.run(URLClassLoader.java:366)
java.net.URLClassLoader$1.run(URLClassLoader.java:355)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:354)
ammonite.interpreter.AddURLClassLoader.findClass(Classes.scala:42)
java.lang.ClassLoader.loadClass(ClassLoader.java:425)
java.lang.ClassLoader.loadClass(ClassLoader.java:358)
chemaxon.license.LicenseHandler.<clinit>(LicenseHandler.java:199)
chemaxon.license.LicenseManager.setLicenseFile(LicenseManager.java:354)
cmd3$$user$$anonfun$1.apply$mcV$sp(Main.scala:80)
cmd3$$user.<init>(Main.scala:81)
cmd3.<init>(Main.scala:85)
cmd3$.<init>(Main.scala:59)
cmd3$.<clinit>(Main.scala)
cmd3$Main$.$main(Main.scala:54)
cmd3$Main.$main(Main.scala)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
ammonite.interpreter.Interpreter$$anonfun$process$1$$anonfun$apply$21$$anonfun$apply$24$$anonfun$apply$25$$anonfun$11.apply(Interpreter.scala:259)
I can't import chemaxon.util.LoggingUtil nor can I find it in the docs.
Any ideas on what is happening here. Did syntax change between versions??