You can have multiple java versions installed, select the active one with 
"alternatives --config java"


On Wednesday, February 11, 2015 at 1:36:17 PM UTC+1, Thierry 
(sage-googlesucks@xxx) wrote:
>
> Hi, 
>
> same problem here (Debian wheezy, Sage 6.5.rc1). No jmol works from the 
> command line (but still from the notebook). I have both version 6 and 7 of 
> openjdk installed, but it seems that version 6 takes precedence. According 
> to my apt logs, those packages were recently updated, so i can not say 
> whether the problem comes from a openjdk or a Sage change. 
>
> The followoing worked for me: 
>
> sudo apt-get remove openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib 
> icedtea-6-plugin 
>
> I had a soft that was depending on version 6, i just removed that softawre 
> as well ;) 
>
> If you do not have version 7, just do next: 
>
> sudo apt-get install openjdk-7-jre icedtea-7-plugin 
>
> Ciao, 
> Thierry 
>
>
>
>
>
> On Wed, Feb 11, 2015 at 01:14:11PM +0100, Nathann Cohen wrote: 
> > Hmmm... I am a bit embarassed, I do not know really how to 'fix' that. 
> > 
> > Nathann 
> > 
> > On 11 February 2015 at 12:06, Nathann Cohen <[email protected] 
> <javascript:>> wrote: 
> > >> Ca marche pour moi, aussi. Quel version de Sage et Java (java 
> -showversion) as-tu? 
> > > 
> > > O_o 
> > > 
> > > In french ? :-P 
> > > 
> > > Well... 
> > > 
> > > ~$ java -showversion 
> > > bash: java: command not found 
> > > 
> > > Actually, this is probably the main issue: 
> > > 
> > > ~$ jmol 
> > > /usr/bin/jmol: 24: /usr/bin/jmol: java: not found 
> > > 
> > > No error message, however, is our problem. Do you know where oen 
> > > should be added ? I can do it but I don't know where this code is 
> > > located O_o 
> > > 
> > > Nathann 
> > 
> > -- 
> > 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 [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to