[openmamba-devel-it] JAVA_HOME

gil puntogil a libero.it
Mar 13 Gen 2009 13:34:27 CET


Silvan Calarco ha scritto:
> Il martedì 13 gennaio 2009 06:23:57 gil ha scritto:
>   
>> ciao
>> ho questo problema
>> ho provato a settare
>> JAVA_HOME
>> con /opt/java/jdk1.6.0/bin
>> opt/java/jdk6u7/bin
>> /opt/java/jdk/bin:
>> checking for java... /opt/...
>> checking for javac... /opt/...
>> checking for javah... /opt/j..
>> checking for jar... /opt/java/j..
>> checking whether Java interpreter works... no
>> pero il risultato é sempre lo stesso (?)
>> configure: WARNING: Java not found. Please install JDK 1.4 or later,
>> make sure that the binaries are on the PATH and re-try. If that doesn't
>> work, set JAVA_HOME correspondingly.
>> qualche consiglio?
>> grazie
>>     
>
> La configurazione standard di openmamba prevede che sia installato il 
> pacchetto sun-java (versione attuale 6u7-1mamba). In questo modo la variabile 
> JAVA_HOME viene impostata a /opt/java/jdk (vedere /etc/profile.d/jdk.sh). 
> Se non funziona occorre vericare lo script sopra citato.
>
> ciao
> Silvan
>
>   
anche cosi non va...

devo modificare lo script?
# Java Environment definitions
#
if ! echo ${PATH} |grep -q /opt/java/jdk/bin ; then
    PATH="$PATH:/opt/java/jdk/bin"
fi

JAVA_HOME=/opt/java/jdk

export JAVA_HOME
+ export JAVA_HOME=/opt/java/jdk
+ JAVA_HOME=/opt/java/jdk
+ CFLAGS='-O2  -fomit-frame-pointer -pipe -march=i686 -mtune=athlon'
+ export CFLAGS
+ CXXFLAGS='-O2  -fomit-frame-pointer -pipe -march=i686 -mtune=athlon'
+ export CXXFLAGS
+ FFLAGS='-O2  -fomit-frame-pointer -pipe -march=i686 -mtune=athlon'
+ export FFLAGS
+ ./configure --host=i586-openmamba-linux-gnu 
--build=i586-openmamba-linux-gnu --target=i586-openmamba-linux-gnu 
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin 
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --disable-static 
--enable-gtk-doc --enable-csharp --disable-debug --with-mysql 
--with-postgres --with-odbc --with-ldap --with-bdb


checking for LIBGDA... yes
checking for platform... Unix
checking for /proc/self/maps... yes
checking whether everything is installed to the same prefix... no
checking whether binary relocation support should be enabled... no
checking for GAMIN... yes
checking for GNOMEVFS... yes
checking for GIO... yes
checking for LIBXSLT... yes
checking for JSON_GLIB... yes
checking whether to build gtk-doc documentation... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for ODBC files... found ODBC in /usr
checking for MySQL files... checking for mysql_config... 
/usr/bin/mysql_config
found mysql
checking for mSQL files... configure: WARNING: mSQL backend not used
checking for PostgreSQL files... checking for pg_config... 
/usr/bin/pg_config
found postgres
checking for freetds files... configure: WARNING: tds backend not used
checking for IBM DB2 files... configure: WARNING: IBM DB2 backend not used
checking for Sybase files... configure: WARNING: Sybase backend not used
checking for ORACLE installation... configure: WARNING: ORACLE backend 
not used
checking for FireBird installation... configure: WARNING: FireBird 
backend not used
checking for Xbase files... configure: WARNING: Xbase backend not used
checking for MDB Tools files... configure: WARNING: MDB backend not used
checking for LDAP files... found LDAP in /usr
checking for SQLITE... yes
checking for sqlite3_table_column_metadata in -lsqlite3... no
Installed SQLite was not compiled with the 
SQLITE_ENABLE_COLUMN_METADATA, using embedded SQLite
checking for java... /opt/java/jdk/bin/java
checking for javac... /opt/java/jdk/bin/javac
checking for javah... /opt/java/jdk/bin/javah
checking for jar... /opt/java/jdk/bin/jar
checking whether Java interpreter works... no
configure: WARNING: Java not found. Please install JDK 1.4 or later, 
make sure that the binaries are on the PATH and re-try. If that doesn't 
work, set JAVA_HOME correspondingly.
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        puntogil.vcf
Tipo:        text/x-vcard
Dimensione:  49 bytes
Descrizione: non disponibile
URL:         <http://tao/pipermail/openmamba-devel-it/attachments/20090113/3dd446b7/attachment.vcf>


Maggiori informazioni sulla lista openmamba-devel-it