emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: DiTAA error under Ubuntu [SOLVED]


From: Sébastien Vauban
Subject: [Orgmode] Re: DiTAA error under Ubuntu [SOLVED]
Date: Fri, 14 Aug 2009 12:15:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Nick, Hi Eric,

Eric S Fraga wrote:
> Sébastien Vauban wrote:
>> Here is the situation of Java-related packages on my system so far:
>
> [...]
>
>> p   openjdk-6-dbg                   - Java runtime based on OpenJDK 
>> (debugging symbols)
>> p   openjdk-6-demo                  - Java runtime based on OpenJDK (demos 
>> and examples)
>> p   openjdk-6-doc                   - OpenJDK Development Kit (JDK) 
>> documentation
>> p   openjdk-6-jdk                   - OpenJDK Development Kit (JDK)
>> p   openjdk-6-jre                   - OpenJDK Java runtime, using Hotspot JIT
>> p   openjdk-6-jre-zero              - Alternatve JVM for OpenJDK, using 
>> Zero/Shark
>> p   openjdk-6-source                - OpenJDK Development Kit (JDK) source 
>> files
>> p   openjdk-6-source-files          - OpenJDK 6 source files (used as a 
>> build dependency)
>
> [...]
>
>> p   sun-java6-demo                  - Sun Java(TM) Development Kit (JDK) 6 
>> demos and examples
>> p   sun-java6-doc                   - Sun JDK(TM) Documention -- integration 
>> installer
>> p   sun-java6-fonts                 - Lucida TrueType fonts (from the Sun 
>> JRE)
>> p   sun-java6-javadb                - Java(TM) DB, Sun Microsystems' 
>> distribution of Apache Derby
>> p   sun-java6-jdk                   - Sun Java(TM) Development Kit (JDK) 6
>> p   sun-java6-jre                   - Sun Java(TM) Runtime Environment (JRE) 
>> 6 (architecture independent f
>> p   sun-java6-plugin                - The Java(TM) Plug-in, Java SE 6
>> p   sun-java6-source                - Sun Java(TM) Development Kit (JDK) 6 
>> source files
>
> Is there any reason you do not wish to install either of openjdk or
> sun-java?

No, it's just that part of the Java things were installed with `bootchart'.
So, I did not make any choice, and I fear problems of mixing versions...


> The gnu java implementation is (I believe -- I could be horridly
> out of date on this) still not complete, especially with respect to AWT. My
> recommendation would be to install either openjdk-6 (which Nick I believe is
> using and works) or sun-java6 (which I am using and works).

This clarifies what I have to do...

Just did:

--8<---------------cut here---------------start------------->8---
sudo aptitude install openjdk-6-jre
--8<---------------cut here---------------end--------------->8---

And, now, it works!  Thanks a lot!


> Best is to do:
>
> update-alternatives --display java
>
> which will list the alternatives installed for that command as well as
> tell you the default.  For me:
>
> $ update-alternatives --display java
> java - manual mode
>  link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java
> /usr/bin/gij-4.3 - priority 43
> /usr/bin/gij-wrapper-4.0 - priority 40
>  slave java.1.gz: /usr/share/man/man1/gij-wrapper-4.0.1.gz
> /usr/bin/gij-wrapper-4.1 - priority 41
> /usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
>  slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
> /usr/lib/jvm/java-gcj/jre/bin/java - priority 1043
>  slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
> Current `best' version is /usr/lib/jvm/java-gcj/jre/bin/java.
> $

For the records, I now have:

--8<---------------cut here---------------start------------->8---
> update-alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/java-6-openjdk/jre/bin/java
/usr/bin/gij-4.3 - priority 43
 slave java.1.gz: /usr/share/man/man1/gij-4.3.1.gz
/usr/lib/jvm/java-gcj/jre/bin/java - priority 1042
 slave java.1.gz: /usr/lib/jvm/java-gcj/man/man1/java.1.gz
/usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061
 slave java.1.gz: /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz
Current `best' version is /usr/lib/jvm/java-6-openjdk/jre/bin/java.
--8<---------------cut here---------------end--------------->8---

Thanks again,
  Seb

-- 
Sébastien Vauban





reply via email to

[Prev in Thread] Current Thread [Next in Thread]