You are not logged in.
Pages: 1
I don't understand why...
[c]
Installation de: java6-jre
================================================================================
Copie de java6-jre... [ OK ]
Extraction de java6-jre... [ OK ]
Extraction du pseudo fs...(lzma) [ OK ]
Installation de java6-jre... [ OK ]
Suppression des fichiers temporaires... [ OK ]
Processing post install commands... [ OK ]
================================================================================
java6-jre (1.6.0_31) est installé.
root@claudepc:~# java
sh: java: not found
[/c]
Offline
Try running [c]get-java6-jdk[/c] as root
Offline
OK with java6-jdk unless with java plugin :
[c]Processing post install commands.../usr/bin/tazpkg: cd: line 32: can't cd to /usr/lib/firefox*/plugins
[/c]
Thanks
Offline
Should be fine - all it couldn't do was copy the java plugin to your firefox directory (probably because you don't have firefox installed), so it threw that error.
Offline
No, I have firefox installed.
I found the problem : in the script /usr/bin/get-java6-jre there is :
[c]
PACKAGE="java6-jre"
VERSION="1.6.0_31"
URL="http://javadl.sun.com/webapps/download/AutoDL?BundleId=35675"
TARBALL="jre-6u31-linux-i586.bin"
[/c]
But when the script run we can see :
[c]
Creating jre1.6.0_17/lib/ext/localedata.jar
Creating jre1.6.0_17/lib/plugin.jar
Creating jre1.6.0_17/lib/javaws.jar
Creating jre1.6.0_17/lib/deploy.jar
Done.
mv: can't rename 'jre1.6.0_31': Aucun fichier ou dossier de ce type
Packing : java6-jre-1.6.0_31
[/c]
So, I changed the script /usr/bin/get-java6-jre :
[c]
PACKAGE="java6-jre"
VERSION="1.6.0_17"
URL="http://javadl.sun.com/webapps/download/AutoDL?BundleId=35675"
TARBALL="jre-6u17-linux-i586.bin"
[/c]
And then everything work fine : java and java plugin !
Offline
tux61, thank you for posting.
Changing the get-java6-jre script to reference version 17 instead of 31 solved the problem!
Offline
Updated the download url,installs java version 1.6.0_31
Works on 4.0 and cooking
wget http://mirror.slitaz.org/packages/cooking/get-java6-jre-1.1.tazpkg
tazpkg install get-java6-jre-1.1.tazpkg
get-java6-jre
Make tazpkg from install:
tazpkg repack java6-jre
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]