User 62d472f2b8
24-09-2013 18:31:30
Installed on 64-bit Kubuntu 13.04. Tried to launch shell script for MarvinSketch64, but nothing happened; tried to launch msketch from /bin directory and got the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/david/.i4j_jres/1.6.0_41/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
Could not find the main class: chemaxon.marvin.Sketch. Program will exit.
Any suggestions?
Thanks!
ChemAxon b62f37c21a
25-09-2013 09:56:46
Hello David,
Thank you for reporting this. We will check this soon and get back to you.
Gabor Vasko
ChemAxon ddb9950431
27-09-2013 13:09:41
Hello David,
Please run this command in a Konsole window:
sudo apt-get install ia32-libs-multiarch
This is a metapackage to install several 32bit compatible libraries, which need to run the helper JRE.
I think it will resolve your running problem.
Unfortunately I cannot reproduce this problem on a clean Kubuntu 13.04 64bit install and a marvinbeans-6.1.0-linux_with_jre64.sh file.
Thank you for your patience
Arpad KISS
User b4f15198ac
07-08-2014 02:20:52
I'm having the same problem as mentioned above. Ive noticed that the shortcuts work invoking dash:
/bin/sh "/home/myname/ChemAxon/etc...
but my invoking from the command line returns:
aiden@aiden-S301LA:/bin⟫ cxcalc
Exception in thread "main" java.lang.NoClassDefFoundError: chemaxon/marvin/Calculator
Caused by: java.lang.ClassNotFoundException: chemaxon.marvin.Calculator
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: chemaxon.marvin.Calculator. Program will exit.
Installer used is ./jchem-14.8.4.0-linux_with_jre64.sh
More info:
aiden@aiden-S301LA:/bin⟫ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
ChemAxon ddb9950431
07-08-2014 14:44:04
Dear Aiden,
Can you try this command, and send us the output, if this fails?
/home/aiden/ChemAxon/JChem/bin/cxcalc
Can you send us the output of this command also?
echo $PATH
Thank you for your help
Arpad KISS
User b4f15198ac
07-08-2014 19:54:50
First command works
echo $PATH
/home/aiden/.i4j_jres/1.6.0_45/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Thanks much!
ChemAxon ddb9950431
12-08-2014 10:23:27
Dear Aiden,
Thank you for you answer.
From your command output it looks like the Jchem directories called bin and lib are out of sync. If you want to use
JChem commands anywhere, better choice is to insert the bin into the PATH environment variable.
For example you can insert this row into the end of your .bashrc file:
export PATH=$PATH:$HOME/ChemAxon/JChem/bin/
From the next login into your system you can use the JChem commands.
If you want to use Oracle Java 6 on your system, using original Oracle JRE/JDK is better instead of using JRE shipped with JChem.
You can install Oracle JDK/JRE with these commands:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get install oracle-java6-installer oracle-java6-set-default
More information about using Oracle JAVA under Ubuntu:
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
Arpad KISS