Jonathan, do you happen to know if Jmol is actually using Java 1.7 
features? If not then it should be compiled with "javac -target 1.6" or 
something like that to be compatible with older JREs. See

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html#crosscomp-options


On Saturday, November 1, 2014 9:31:26 AM UTC, Jeroen Demeyer wrote:
>
> On 2014-10-30 15:12, Volker Braun wrote: 
> > * SageNB now can do 3d plots without Java, so it is usable again in 
> chrome. 
>
> For me, this upgrade breaks 3D graphics to some extent: 
>
> When issuing the command cube(viewer="jmol") using 
>
> java version "1.6.0_31" 
> OpenJDK Runtime Environment (IcedTea6 1.13.3) (Gentoo build 1.6.0_31-b31) 
> OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) 
>
> with Firefox ESR 24.8.0 on a x86_64 Gentoo Linux system, I always get a 
> confusing error message like 
>
> /usr/local/src/sage-git/local/lib/python2.7/site-packages/IPython/core/f\ 
> ormatters.py:239: FormatterWarning: Exception in text/plain formatter: 
> Jmol failed to create file 
> '/tmp/tmpJEIc27/.jmol_images/sage0-size500.jmol.png', see 
> '/home/jdemeyer/.sage/temp/tamiyo/2874/tmp_IABUbj.txt' for details 
>    FormatterWarning, 
> None 
>
> The .txt file with details contains 
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: 
> org/jmol/translation/Jmol/en_GB/Messages_en_GB : Unsupported major.minor 
> version 51.0 
>          at java.lang.ClassLoader.defineClass1(Native Method) 
>          at java.lang.ClassLoader.defineClass(ClassLoader.java:634) 
>          at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) 
>          at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) 
>          at java.net.URLClassLoader.access$000(URLClassLoader.java:73) 
>          at java.net.URLClassLoader$1.run(URLClassLoader.java:212) 
>          at java.security.AccessController.doPrivileged(Native Method) 
>          at java.net.URLClassLoader.findClass(URLClassLoader.java:205) 
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:321) 
>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) 
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 
>          at java.lang.Class.forName0(Native Method) 
>          at java.lang.Class.forName(Class.java:188) 
>          at org.jmol.api.Interface.getInterface(Unknown Source) 
>          at org.jmol.i18n.Resource.getResource(Unknown Source) 
>          at org.jmol.i18n.GT.addBundle(Unknown Source) 
>          at org.jmol.i18n.GT.addBundles(Unknown Source) 
>          at org.jmol.i18n.GT.<init>(Unknown Source) 
>          at org.jmol.i18n.GT.getTextWrapper(Unknown Source) 
>          at org.jmol.i18n.GT._(Unknown Source) 
>          at org.openscience.jmol.app.JmolApp.getOptions(Unknown Source) 
>          at org.openscience.jmol.app.JmolApp.parseCommandLine(Unknown 
> Source) 
>          at org.openscience.jmol.app.JmolData.main(Unknown Source) 
>
> Whether the display of the 3D figure actually works depends on the "Use 
> java for 3-D" and "Load 3-D Live" settings: it works iff exactly one of 
> those two is enabled. (but even if it works, I still get the error 
> message) 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to