#4 14.03.07 10:29
Re: Can't find valid JAVA_HOME
1. root@Router:/mnt/flashka# apt-get install java-package
обновил
2. скачал 2sdk-1_4_2_13-linux-i586.bin
root@Router:/mnt/flashka# make-jpkg j2sdk-1_4_2_13-linux-i586.bin
You are real root -- unfortunately, some Java distributions have
install scripts that directly manipulate /etc, and may cause some
inconsistencies on your system. Instead, you should become a
non-root user and run:
fakeroot make-jpkg j2sdk-1_4_2_13-linux-i586.bin
which will allow no damage to be done to your system files and
still permit the Java distribution to successfully extract.
Aborting.
в чем трабла могет быть?
system: ubuntu 6.10
Offline
#5 14.03.07 10:38
Re: Can't find valid JAVA_HOME
там же сказано что сделать надо, fakeroot make-jpkg j2sdk-1_4_2_13-linux-i586.bin.
Либо запусти это не из под рута.
Offline
#6 14.03.07 11:49
Re: Can't find valid JAVA_HOME
Create debian package:
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: could not find any packages for libXp.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared library libXp (soname 6, path libXp.so.6, dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared library libXt (soname 6, path libXt.so.6, dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for libXext.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared library libXext (soname 6, path libXext.so.6, dependency field Depends)
dpkg-shlibdeps: warning: could not find any packages for libXtst.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXext.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXtst.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXi.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dpkg-shlibdeps: warning: could not find any packages for libXt.so.6
dpkg-shlibdeps: warning: unable to find dependency information for shared librar
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `sun-j2sdk1.4' in `/tmp/make-jpkg.CHJxkl5028/sun-j2sd
tar: -: file name read contains nul character
copy sun-j2sdk1.4_1.4.2+13_i386.deb into directory /opt/
cp: cannot create regular file `/opt/sun-j2sdk1.4_1.4.2+13_i386.deb': Permission denied
Aborted (/opt/).
Removing temporary directory: done
Offline
#7 14.03.07 13:30
Re: Can't find valid JAVA_HOME
Млять...написано же
ko_antoha написал(а):
cp: cannot create regular file `/opt/sun-j2sdk1.4_1.4.2+13_i386.deb': Permission denied
Проверь права. А лучше учи английский или переходи на винду.
Offline

