error running Jchem3.1

User 5f37dcad67

26-08-2005 14:30:17

Hi,


I downloaded the new version of Jchem3.1 in my Linux system. I have the licence file in .chemaxon directory. When I run any tool like mcs or jcsearch i get the following error.


[nsrao@raghu bin]$ ./mcs


Warning: -Xmx200M not understood. Ignoring.


Warning: -client not understood. Ignoring.


./mcs: line 105: 3518 Aborted java $javaopts chemaxon.sss.search.MCS "$@"


[nsrao@raghu bin]$ ./jcsearch


Warning: -Xmx200M not understood. Ignoring.


Warning: -client not understood. Ignoring.


./jcsearch: line 105: 3583 Aborted java $javaopts chemaxon.jchem.Search "$@"


[nsrao@raghu bin]$





I have java plugin installed also.


Please tell me what should be done.


Regards,





Naidyu Subbarao

ChemAxon 9c0afc9aaf

26-08-2005 14:50:31

Hi,





It seems you have non-Sun JRE installed (?).


Could you let me know the type and version of your JRE ?





Please send me the output of the following command:





java -version





Would it be a problem to switch to a Sun JRE ?





Best regards,





Szilard

User 5f37dcad67

26-08-2005 16:02:02

Hi,


I have installed the Sun Java using the following rpm


jre-1_5_0_02-linux-i586.rpm





Anycase when I tried java -version I got the following :


[nsrao@raghu software]$ java --version


Warning: --version not understood. Ignoring.


Usage: gij [OPTION] ... CLASS [ARGS] ...


to invoke CLASS.main, or


gij -jar [OPTION] ... JARFILE [ARGS] ...


to execute a jar file


Try `gij --help' for more information.





Thanks.





Regards,


Naidu Subbarao

ChemAxon 9c0afc9aaf

26-08-2005 16:25:26

Hi,





It's actually "-version", I have posted it the wrong way first , sorry.





Anyway, it seems to be clear, that you are not running the freshly installed Sun java version.


"gij" stands for GNU Interpreter for Java, it was probably shipped with your Linux.





If you execute





Code:
which java






you will see what Java you are currently using.





You should modify you PATH environment variable to include the bin directory of the newly installed Sun JRE, and not the gij Java.





Best regards,





Szilard

User 5f37dcad67

26-08-2005 16:47:15

I got the following:


[nsrao@raghu gmxdemo]$ java -version


java version "1.4.2"


jdkgcj 0.3.1 (http://www.arklinux.org/projects/jdkgcj)


gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)


Copyright (C) 2004 Free Software Foundation, Inc.


This is free software; see the source for copying conditions. There is NO


warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.





[nsrao@raghu gmxdemo]$ which java


/usr/bin/java





Regards,


Naidu Subbarao

ChemAxon 9c0afc9aaf

27-08-2005 07:42:58

Hi,





The output shows that you are running the wrong Java.





Please change your PATH environment variable, so the Sun Java will be run.





This is usually set in your profile file, probably in the file .bash_profile


You should remove the gcj Java, and put the bin directory Sun's Java into the PATH.


You can check your PATH variable by typing


Code:
echo PATH






For example your Sun Java is probably installed in this directory:





/usr/local/java/jre1.5.0_02





The bin subdirectory should be added to your PATH:





/usr/local/java/jre1.5.0_02/bin





Best regards,





Szilard