OpenJDK VM (used to be IceTea) is the default with Ubuntu and it does work with Jmol. So if things don't work after the patch there is something else wrong with your installation.
Jonathan On May 21, 9:36 am, Jonathan <gu...@uwosh.edu> wrote: > OK, I found an Ubuntu VM (11.04) that I hadn't killed. With the patch > for launching Jmol from the command line and the Sun Java it > definitely works. If you want 4.6.2 to work apply the patch. If that > doesn't fix it you will also have to switch from the default JavaVM to > the Sun/Oracle version. > > Jonathan > > On May 21, 9:26 am, Jonathan <gu...@uwosh.edu> wrote: > > > > > > > > > Which java do you have installed? The default with Ubuntu is > > IcedTea. Last time I checked this was working with the patch, but > > that could be the problem. Jmol (the 3D application that is launched) > > is only verified against the Oracle/Sun JavaVM. If you are using > > IceTea try switching to the Oracle/Sun release. > > > I just destroyed my Ubuntu VM so can't check this right now. > > > Jonathan > > > On May 20, 5:15 pm, RegB <2regburg...@earthlink.net> wrote: > > > > From the fact that plot3d worked previously from the terminal and that > > > 2d plots still work from the terminal with UBUNTU 11.04 > > > I think we are still on track, i.e. in my case it is plot3d specific > > > and fails whether called from a terminal or a notebook. > > > > On May 19, 5:46 pm, Kelvin Li <ltwis...@gmail.com> wrote: > > > > > Please excuse me for pulling the subject of this discussion back to > > > > what I think the original post meant... > > > > > On May 19, 2:47 am, Ari <garon.ari...@gmail.com> wrote: > > > > ... > > > > > > I am working with sage > > > > > from the terminal and whenever I use the function plot3d, nothing > > > > > happens. > > > > ... > > > > > Ari > > > > > As far as I know, the usual "jmol" and "canvas3d" rendering engines > > > > will not work from the command line. But, you can save your plot as a > > > > PNG, as rendered by Tachyon: > > > > > sage: var('x y') > > > > (x, y) > > > > sage: plot3d(x^2 + y^2, (x, -1, 1), (y, -1, 1)).save("test.png") > > > > > The above example will save "test.png" to your current working > > > > directory. > > > > > As an aside, you can also export your 3d object in various formats. > > > > One example is the "obj" method, whose output can be viewed in Blender > > > > (www.blender.org). > > > > > sage: var('x y') > > > > sage: a = plot3d(x^2 + y^2, (x, -1, 1), (y, -1, 1)) > > > > sage: f = open("dump.obj", "w") > > > > sage: f.write(a.obj()) > > > > sage: f.close() > > > > > After downloading and installing Blender (which is very easy to do), > > > > do "File > Import > Wavefront (.obj)" and select the file "dump.obj". > > > > > -- Kelvin -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org