Installation and JAVA_HOME

51 views
Skip to first unread message

Prosper EDD

unread,
Sep 18, 2018, 4:45:57 AM9/18/18
to Datafari

Hi,

I'm set the JAVA_HOME variable and no way to install Datafari.
Could you help me ?

Best,

# dpkg -i datafari.deb
Sélection du paquet datafari précédemment désélectionné.
(Lecture de la base de données... 287319 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de datafari.deb ...
Dépaquetage de datafari (4.1.1) ...
Paramétrage de datafari (4.1.1) ...
Datafari cannot be installed.
Environment variable JAVA_HOME is not properly set.
Please set your JAVA HOME variable and reinstall Datafari
Go to  https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/66125825/Quick+Start+Guide for more information
dpkg: erreur de traitement du paquet datafari (--install) :
 installed datafari package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 datafari
# echo $JAVA_HOME
/opt/jdk-10.0.2

Olivier Tavard

unread,
Sep 18, 2018, 5:57:05 AM9/18/18
to pcorre...@gmail.com, Datafari
Hello,
I have some questions in order to help you :

- Did you run the dpkg command with the root user ?
- Did you check that the JAVA HOME variable was set for all users and not only the current user ? We recommend to set in in /etc/profile.
By the way you need to have Java 8 version for Datafari installation, not Java 10. It is not officially supported in Datafari.

Best regards,

Olivier

--
You received this message because you are subscribed to the Google Groups "Datafari" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datafari+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Prosper EDD

unread,
Sep 18, 2018, 6:44:05 AM9/18/18
to Datafari
Hello Olivier,

Yes, I tried with root user after adding the JAVA_HOME variable in its .bashrc file.
It's OK now.
I didn't install JRE :
apt-get install openjdk-8-jre -y

Thank you,
Reply all
Reply to author
Forward
0 new messages