Java problem following installation?

User 70e726e65e

05-01-2010 16:55:41

I have just installed the latest version of JChem for Excel (1.1.3) for use with Excel 2003 on Windows XP. I also have the MarvinBeans and Instant JChem software which works fine. However, with JChem for Excel, I can't add or paste a structure without getting the error message "Unable to construct the Marvin Editor Control because sun.awt.SunToolkit". The "convert from smiles" tool does nothing. Knowing very little about this area, I installed the latest version of Java in case that was the issue, but nothing changed. Any advice would be much appreciated.


Thanks,


James

ChemAxon 0e37943a96

05-01-2010 19:47:05

Dear James,


could you check which Structure Editor is set under Options - Structure editor?


1.1.3 is using the Marvin .NET editor by default, and it does not require Java any more (only for the OLE Copy-Paste). If it is not Marvin.NET, than please select that.


If you had earlier version installed, maybe Marvin OLE is set as editor, but that should also work.


If the Convert from SMILES does not work either, this could be a more complicated issue. Do other functions work, like Import from File, or right click - Open Structure?


You mentioned you cannot paste structure. Did you try to paste int JChem for Excel directly using the Paste Structure on the context menu?


Regards,


Tamas.


 


 


 

User 70e726e65e

06-01-2010 15:15:42

  Hi Tamas,  


Thanks for the advice. Ok, a few things have changed so I'll try to explain it all. I am now using the 1.1.3 version with Office 2007. Before you wrote your reply, I had discovered that if I changed the structure editor from Marvin .NET to the OLE one, then clicking on "add structure" would open the editor rather than give me that error message. I believe one problem is that it cannot open the Marvin .NET editor. I did install that .NET program from the link on the JChem download page, but that didn't help. Using the OLE editor, I can draw a structure and return it to the Excel file, but it just appears as a "=JCSYSStructure(long number)", and I can do nothing else with it.

 I still cannot open structure from file (a simple molfile gives the error "could not load structure from file"). Convert structure to smiles still doesn't work. Pasting structures directly gives me =JCSYSStructure(long number) in the cell again.



 Thanks for your help,


James


 


 

ChemAxon 0e37943a96

06-01-2010 16:06:39

Hi James,


this is strange.


You do not need to install any other ChemAxon software to make JChem for Excel to work.


Past versions had some issues, when installed together with JChem .NET API, but 1.1.3 should not have.


Could you please send us the contents of the About dialog (Open About, select the text which lists the loaded dlls, and Ctrl+C to copy to clipboard).


And also the log file called  JChemExcel.log under (if it is there):


Documents and Settings\Application Data\ChemAxon\JChem for Excel


One more thing to try:


If have any versions of JChem .NET API installed, please try to remove it.


Regards,


Tamas.


PS: If these do not work, we coulds set up a web based help session if you prefer, we can arrange that iwith e-mail.


 

User 70e726e65e

06-01-2010 16:22:40

Hi Tamas,


I think I have removed the JChem api, and the "about" information you asked for is below:


backport-util-concurrent, Version=1.0.0.1, Culture=neutral, PublicKeyToken=d25ce09139c726a9
commons-logging-1.1, Version=1.1.0.1, Culture=neutral, PublicKeyToken=d25ce09139c726a9
CustomMarshalers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
dom4j, Version=1.3.0.1, Culture=neutral, PublicKeyToken=d25ce09139c726a9
IKVM.OpenJDK.Core, Version=0.42.0.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9
IKVM.OpenJDK.Jdbc, Version=0.42.0.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9
IKVM.OpenJDK.SwingAWT, Version=0.42.0.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9
IKVM.OpenJDK.Util, Version=0.42.0.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9
IKVM.Runtime, Version=0.42.0.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9
Interop.JChemExcel.ExcelCOM.2003, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Interop.JChemExcelCOMShimLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
JChem, Version=5.2.6.1, Culture=neutral, PublicKeyToken=d25ce09139c726a9
JChemExcel, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Base, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Cartridge, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Data.MySQL, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Data.Oracle, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Data.Oracle.JDBC, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.Excel, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.IKVM, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
JChemExcel.View.Windows.Forms, Version=1.1.3.1694, Culture=neutral, PublicKeyToken=null
LinqBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076
log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821
ManagedAggregator, Version=0.0.0.0, Culture=neutral, PublicKeyToken=d51fbf4dbc2f7f14
Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Microsoft.Practices.ObjectBuilder2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
ojdbc14, Version=10.2.0.5, Culture=neutral, PublicKeyToken=d25ce09139c726a9
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089


I can't find that log file. Without really knowing what it is, is there any way to check that the .NET framework is working properly?


Thanks,


James

ChemAxon 0e37943a96

06-01-2010 17:39:29

Hi James,


from the list it seems, that the correct versions of dlls are loaded. I do not think that the .NET Framework is the problem, some DLLs are loaded from the framework (such as System.x).


You could try to install the SP2 for the .NET Framework, if you do not have it. We only test with SP2 installed, therefore it is set as a system requirement for JChem for Excel.


I will drop you a mail, if the SP install will not help, and we could set up a web meeting.


Regards,


Tamas.


 

User 5208065412

07-02-2010 17:09:54

I am also having same problem, my OS is SP3

ChemAxon 0e37943a96

09-02-2010 13:04:25

Dear Nilesh,


the OS service pack level is not related to the .NET service packs. Please try to install the latest .NET service pack from the Microsoft download site.


Tamas.


 

User 538416f930

23-02-2010 00:10:29

Had the same probem. Updating .net solved it. -S.