On Aug 15, 2016, at 14:36 , Anne Schilling wrote:

> Hi!
> 
> I get the following bug with
> sage: version()
> 'SageMath version 7.3, Release Date: 2016-08-04'
> 
> Any idea what the problem might be? I installed jmol with sage -f jmol
> and do have java installed.
[snip]
> sage: RootSystem(['A',3]).ambient_space().plot()
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
[snip]
> /Applications/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_ipython.py
>  
> in launch_jmol(self, output_jmol, plain_text)
>    363         jdata = JmolData()
>    364         if not jdata.is_jvm_available() and not DOCTEST_MODE:
> --> 365             raise RuntimeError('jmol cannot run, no suitable java 
> version found')
>    366         launch_script = output_jmol.launch_script_filename()
>    367         from sage.env import SAGE_LOCAL
> 
> RuntimeError: jmol cannot run, no suitable java version found

FWIW, I get the same error, but I definitely do not have java installed.  Do 
you also get, as I do, an alert saying 
   "To use the "java" command-line tool you need to install a JDK."

If not, it may be that your java install is not accessible.  I assume this is 
the command-line version of sage that you are running.  Can you run java from 
the command-line, independent of sage?

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
Question 43:
What if the hokey pokey
really *is* what it’s all about?
--

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

Reply via email to