Update to 5.5.1

User b0f6d33590

26-07-2011 12:44:35

Hi Tamas


I just updated to the new Chemaxon version 5.5.1. and have one error message:




MolPrinter printer = new MolPrinter();


printer.setDispopts(printer.getDispopts() | UserSettings.ABS_FLAG);


ABS_FLAG is no longer available.


How do I have to replace this line of code for the new version?


many thanks



David



 




 

ChemAxon 5433b8e56b

26-07-2011 12:54:29

Hi David,


please use the DispOptConsts.ABS_FLAG instead. It was usable from UserSetting before, but we have eliminated the duplication, and made this constant available only trhu the DispOptConsts class. Sorry for the inconvenience.


Regards,
Istvan

User b0f6d33590

26-07-2011 13:16:48

Thanks for your quick reply.


I just realized that Java 6 is required by the new version 5.5.1.


In our project we are still working with Java 5. Is there a chemaxon version which is compiled with Java 5? Which is the latest version to be used with Java 5?


 


many thanks in advance.


 


David

ChemAxon 5433b8e56b

26-07-2011 13:31:18

Hi,


Unfortunatelly we do not have backport for the 5.5.x series, the latest version which was compiled with 1.5 is Marvin 5.4.1.


Regards,
Istvan

User 870ab5b546

03-08-2011 16:34:21

This remains a serious problem for those of us still using MacOS 10.5.  Yes, I know that we are already up to OS 10.7, but a lot of people are still using OS 10.5.  At University of Illinois, for example, all their computer labs are still using OS 10.5.


Are there many features in Marvin 5.5 that cannot be compiled in Java 1.5?

ChemAxon 7c2d26e5cf

04-08-2011 08:34:50

Yes.


We use the benefit of Java 1.6  at several places in the code. We can not revert the code to 1.5.


Tamas

User dc8285d369

18-08-2011 08:09:21










bobgr wrote:

This remains a serious problem for those of us still using MacOS 10.5.  Yes, I know that we are already up to OS 10.7, but a lot of people are still using OS 10.5.  At University of Illinois, for example, all their computer labs are still using OS 10.5.


Are there many features in Marvin 5.5 that cannot be compiled in Java 1.5?



Hello,


I'm using MacOS 10.5 on my personal/work machine and it's running both Java 1.5 & 1.6. I saw it in the Java preferences.app. Perhaps you should check for any recent java update.


Also, Marvin 5.5.1.0 is running well in my system.


Regards

ChemAxon 990acf0dec

18-08-2011 10:06:07

Thanks for the useful comment!

User 870ab5b546

18-08-2011 13:33:35

I have all Java updates installed, including Java 1.6.  The problem is not so much with the desktop Marvin.  The problem is with Web browsers running Marvin applets.  Java 1.6 for MacOS 10.5 will run only in browsers that are 64-bit implementations.  The only 64-bit MacOS 10.5 Web browser that I have been able to find is iCab.  Any other Web browser on MacOS 10.5 will not run Java 1.6, and hence will not run Marvin 5.5.  See this discussion.


The desktop Marvin application accesses Java directly without going through a Web browsers, so it can use the 64-bit Java 1.6.  

ChemAxon d44f555baf

23-08-2011 13:40:07

Hi,


There was an option in the Application->Utilities->Java Preferences / General with you could run Applets in the browser process or in own process. I think running in own process should do the trick. Sadly in the new Java Preferences (v12.9.0 came with Java for Mac 10.5.8 Update 10) that option not included. I searched for a workaround, but I didn't find any reference. So I suggest you to use 64 bit browser. Firefox Nightly is a 64 bit build of Firefox (just a test version, but in my Leopard it worked with MarvinApplets). It can be downloaded from: http://nightly.mozilla.org/


Best Regards, Erneszt

User 870ab5b546

23-08-2011 17:34:56

You already made the "own process" suggestion in this discussion.  It didn't work for me.


I might look into the 64-bit Firefox.