on l'a trouvé (voir mon msg plus haut), le problème c'est qu'ensuite on obtient un message genre
java.runtime.name=OpenJDK Runtime Environment
sun.boot.library.path=/usr/lib/jvm/java-6-openjdk/jre/lib/i386
java.vm.version=14.0-b16
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=
http://java.sun.com/
path.separator=:
java.vm.name=OpenJDK Server VM
file.encoding.pkg=sun.io
sun.java.launcher=SUN_STANDARD
/.../
mais rien de plus. Idem avec la version de Sun.
Je viens de voir que dans les dépôts d'archlinuxfr on a un paquet binaire (mais pourquoi ne pas les mettres dans AUR les gars ??? c'est fait pour ça) :
http://afur.archlinux.fr/?action=view&p=35
mais ce n'est compilé que pour 64 bit. (à mon avis ça doit fonctionner pareil en x86)
Le script d'initialisation est plus complexe :
Code : Tout sélectionner
#!/bin/bash
command="-Xmx512M -Djaolt.data.dir=/var/lib/jaolt -jar /usr/share/jaolt/launcher.jar"
currentJVM="java"
chmodCommand="chmod 777 -R /var/lib/jaolt/auctionplatforms"
if [ "$(find /var/lib/jaolt/auctionplatforms -print)" != "$(find /var/lib/jaolt/auctionplatforms -perm -777 -print)" ]
then
if [ `which gksu` ]
then
gksu --message "Change static data folder permission (once)." "$chmodCommand"
elif [ `which kdesu` ]
then
kdesu --message "Change static data folder permission (once)." "$chmodCommand"
else
sudo $chmodCommand
fi;
fi;
if [ "$(find /var/lib/jaolt/auctionplatforms -print)" = "$(find /var/lib/jaolt/auctionplatforms -perm -777 -print)" ]
then
$currentJVM $command
$chmodCommand/*
else
if [ `which sudo` ]
then
error_text="Could not set the permissions to data folder. Please run '$chmodCommand' out of the terminal / console as root."
else
error_text="Could not set the permissions to data folder. Please run 'sudo $chmodCommand' out of the terminal / console."
fi;
if [ `which zenity` ]
then
zenity --error --text="$error_text"
else
echo $error_text
fi;
fi;
Et ça fonctionne chez moi, mais pas avec le jaolt-svn.