which java
echo $JAVA_HOME
non plus …java –version
Le programme 'java' peut être trouvé dans les paquets suivants :
* java-gcj-compat-headless
* openjdk-6-jre-headless
* cacao
* j2re1.4
* kaffe
* jamvm
* gij-4.1
* gij-4.2
* sablevm
Essayez : sudo apt-get install <paquet sélectionné>
bash: java : commande introuvable
sudo apt-get remove cocoa
Lecture des listes de paquets… Fait
Construction de l'arbre des dépendances
Lecture des informations d'état… Fait
E: Impossible de trouver le paquet cocoa
jm@ubuntu:~$ update-java-alternatives -l
java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
jm@ubuntu:~$ which java
/usr/bin/java
jm@ubuntu:~$ echo $JAVA_HOME
jm@ubuntu:~$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
jm@ubuntu:~$ sudo ./build-1164_Alfresco-Labs-3b-Linux-x86-Install
il me demande "de préciser la localisation de votre Runtime Java"
/usr/lib/jvm/java-1.5.0-sun
export JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun"
Vous lancez "alfresco.sh start" .. et ça devrait aller pour commencer
Vous ne seriez pas tenté par une installation toute simple d'Alfresco en utilisant le paquet Alfresco + tomcat par hasard ?Et bien si justement, je ne suis même tenté que par cela, du simple et de l'efficace ….merci pour la suggestion …
export JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun"puis :
jm@ubuntu:~$ alfresco.sh startpuis :
bash: alfresco.sh : commande introuvable
jm@ubuntu:~/build-1164_alfresco-labs-tomcat-3b$ ./alfresco.sh start
Using CATALINA_BASE: /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat
Using CATALINA_HOME: /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat
Using CATALINA_TMPDIR: /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeDeletions
8 oct. 2008 22:33:02 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
8 oct. 2008 22:33:03 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 15608 ms
8 oct. 2008 22:33:07 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
8 oct. 2008 22:33:07 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
8 oct. 2008 22:33:07 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
8 oct. 2008 22:33:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
22:36:10,698 INFO [web.site.FrameworkHelper] Successfully Initialized Web Framework
8 oct. 2008 22:36:11 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfresco.war de l'application web
22:47:26,458 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
os: Linux
command: convert /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_55534.gif /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_55535.png
succeeded: false
exit code: 1
out:
err: java.io.IOException: convert: not found
22:48:39,112 INFO [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
22:52:17,139 ERROR [transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
os: Linux
command: pdf2swf -V
succeeded: false
exit code: 1
out:
err: java.io.IOException: pdf2swf: not found
22:57:13,549 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.DerbyDialect.
22:57:14,833 INFO [domain.schema.SchemaBootstrap] Alfresco is using the Apache Derby default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
22:57:48,815 INFO [domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.DerbyDialect-55536.sql (Generated).
23:05:57,532 INFO [domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55537.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.DerbyDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql).
23:06:15,308 INFO [domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55538.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.DerbyDialect/AlfrescoPostCreate-2.2-Extra.sql).
23:06:30,829 INFO [domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55539.sql (Copied from classpath:alfresco/dbscripts/create/3.0/org.hibernate.dialect.DerbyDialect/create-activities-extras.sql).
23:09:44,439 INFO [domain.schema.SchemaBootstrap] All executed statements written to file /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-All_Statements-55540.sql.
22:36:10,698 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
22:47:26,458 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
os: Linux
command: convert /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_55534.gif /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_55535.png
succeeded: false
exit code: 1
out:
err: java.io.IOException: convert: not found
22:48:39,112 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
22:52:17,139 ERROR [org.alfresco.repo.content.transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
os: Linux
command: pdf2swf -V
succeeded: false
exit code: 1
out:
err: java.io.IOException: pdf2swf: not found
22:57:13,549 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.DerbyDialect.
22:57:14,833 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Alfresco is using the Apache Derby default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
22:57:48,815 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.DerbyDialect-55536.sql (Generated).
23:05:57,532 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55537.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.DerbyDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql).
23:06:15,308 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55538.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.DerbyDialect/AlfrescoPostCreate-2.2-Extra.sql).
23:06:30,829 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.DerbyDialect-55539.sql (Copied from classpath:alfresco/dbscripts/create/3.0/org.hibernate.dialect.DerbyDialect/create-activities-extras.sql).
23:09:44,439 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] All executed statements written to file /home/jm/build-1164_alfresco-labs-tomcat-3b/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-All_Statements-55540.sql.
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.