[FoLUG] Documentazione in kubuntu+java+eclipse
Michele Mordenti
michele.mordenti@gmail.com
Ven 1 Feb 2008 07:27:16 CET
2008/1/31, Enrico Strocchi <strocchienr@libero.it>:
> 1) Durante l'installazione di sun-java6-doc.deb è richiesto che ti scarichi a
> mano lo zip della documentazione e lo metti nella cartella tmp quando
> richiesto. Di solito se usi adept da interfaccia grafica questo passaggio non
> funziona...
Già fatto, i link simbolici java-6-sun e docs sono attivi:
ls /usr/lib/jvm/ -l
totale 4
lrwxrwxrwx 1 root root 19 2007-12-28 15:38 java-6-sun -> java-6-sun-1.6.0.03
drwxr-xr-x 8 root root 4096 2008-01-24 10:27 java-6-sun-1.6.0.03
ls /usr/lib/jvm/java-6-sun/docs -l
lrwxrwxrwx 1 root root 37 2008-01-24 10:27
/usr/lib/jvm/java-6-sun/docs -> ../../../share/doc/sun-java6-jdk/html
>
> 2) Sicuro che eclipse usa il sun-jdk e non il gcj? Controlla lanciando eclipse
> da console.
~$ eclipse
searching for compatible vm...
testing /usr/lib/jvm/java-gcj...not found
testing /usr/lib/kaffe/pthreads...not found
testing /usr/lib/jvm/java-6-sun...found
Anche questo dovrebbe essere a posto.
E anche l'update-alternatives sembra ok:
ls -l /etc/alternatives/*java*
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/firefox-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/iceape-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/iceweasel-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 36 2008-01-02 08:06 /etc/alternatives/java ->
/usr/lib/jvm/java-6-sun/jre/bin/java
lrwxrwxrwx 1 root root 46 2008-01-02 08:06 /etc/alternatives/java.1.gz
-> /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
lrwxrwxrwx 1 root root 33 2007-12-28 15:38 /etc/alternatives/javac ->
/usr/lib/jvm/java-6-sun/bin/javac
lrwxrwxrwx 1 root root 43 2007-12-28 15:38
/etc/alternatives/javac.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 35 2007-12-28 15:38 /etc/alternatives/javadoc
-> /usr/lib/jvm/java-6-sun/bin/javadoc
lrwxrwxrwx 1 root root 45 2007-12-28 15:38
/etc/alternatives/javadoc.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 33 2007-12-28 15:38 /etc/alternatives/javah ->
/usr/lib/jvm/java-6-sun/bin/javah
lrwxrwxrwx 1 root root 43 2007-12-28 15:38
/etc/alternatives/javah.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 33 2007-12-28 15:38 /etc/alternatives/javap ->
/usr/lib/jvm/java-6-sun/bin/javap
lrwxrwxrwx 1 root root 43 2007-12-28 15:38
/etc/alternatives/javap.1.gz ->
/usr/lib/jvm/java-6-sun/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 40 2007-12-28 15:38
/etc/alternatives/java-rmi.cgi ->
/usr/lib/jvm/java-6-sun/bin/java-rmi.cgi
lrwxrwxrwx 1 root root 39 2007-12-28 15:38 /etc/alternatives/java_vm
-> /usr/lib/jvm/java-6-sun/jre/bin/java_vm
lrwxrwxrwx 1 root root 38 2008-01-02 08:06 /etc/alternatives/javaws ->
/usr/lib/jvm/java-6-sun/jre/bin/javaws
lrwxrwxrwx 1 root root 48 2008-01-02 08:06
/etc/alternatives/javaws.1.gz ->
/usr/lib/jvm/java-6-sun/jre/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/midbrowser-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/mozilla-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 64 2008-01-02 08:08
/etc/alternatives/xulrunner-javaplugin.so ->
/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
Altre idee?
--
Michele Mordenti
http://xoomer.alice.it/michele.mordenti/
Maggiori informazioni sulla lista
FoLUG