jchem installation

User ac20ca0f01

24-11-2005 14:09:03

Hello,





I am a Linux user and I just downloaded JChem and installed it but I got the following error when executing molconvert:





./molconvert -h


Exception during runtime initialization


java.lang.NullPointerException


<<No stacktrace available>>





Does anybody know what is wrong with my installation? I've also installed jdk1.5.0_05 and added it to the PATH environment variable.





greetings,


Villy

ChemAxon 9c0afc9aaf

24-11-2005 15:07:32

Hi,





Presumably you are unwittingly using an other Java, not the one from Sun.





You can check this with the following commands:








Code:
java -version



or


Code:
which java



or


Code:
echo $PATH






The items in the PATH are found in the order of the list.


You should move the Sun Java installation at the front of the list.





Best regards,





Szilard

User ac20ca0f01

24-11-2005 15:46:17

Thanks, you are right. Now it works.





greetings,


Villy