java in a live cd
I try to make a livecd that it have java with the sun jdk but i have
problem to make works the sun jdk (with the free-java-sdk works but is
too big to my instalation). I make this:
cd /tmp
make-live --config /etc/make-live.conf
cd /tmp/debian-live/chroot
chroot $( pwd )
apt-get install tomcat5 libxalan2-java liblog4j1.2-java bridge-utils
ifenslave-2.6 openssh-server tcpdump proftpd libcommons-fileupload-java
mc sun-java5-jdk xalan libxerces27 openntpd inotify-tools nmap netcat
deborphan mgetty ppp console-tools console-data console-common less
dpkg-reconfigure -a
/limpiarApt.sh
exit
./recreate.sh
i atach the scripts limpiarApt.sh (clean apt caches an server lists),
recreate.sh (make the squashfs and iso from the chroot directory) and
make-live.conf
I put this options at boot time
boot=casper quiet ip=eth0,192.168.1.1,255.255.255.0 locale=es
hostname=sbu keyb=es username=sipco2
the cd boot fine, but when i try to execute java or javac y se the next
error.
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment
I try to export all know enviroment variables about java
(JAVA_HOME,JDK_HOME,JRE_HOME,JAVA_ROOT,CLASSPATH,LD_LIBRARY_PATH,...)
and allways the same error.
In the developer system if i make a chroot to /tmp/debian-live/chroot
and execute java it work fine.
I forgot some step but i can find it, any Ideas?
Thanks
--
Un Saludo
Iv?n Fern?ndez Calvo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: limpiarApt.sh
Type: application/x-shellscript
Size: 424 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070125/2cb07317/limpiarApt.bin
-------------- next part --------------
# /etc/make-live.conf - configuration file for make-live(8)
# make-live does work out of the box. However, if you want to customize it,
# you can edit the variables below. Look make-live.conf(8) for more information.
# Root directory (Default: `pwd`/debian-live)
#LIVE_ROOT="`pwd`/debian-live"
# Image type (Default: iso)
LIVE_TYPE="iso"
# Bootstrap architecture (Default: auto-detected)
#LIVE_ARCHITECTURE="i386"
# Boot parameters (Default: empty)
LIVE_BOOTAPPEND=" -quiet"
# Chroot directory (Default: ${LIVE_ROOT}/chroot)
#LIVE_CHROOT="${LIVE_ROOT}/chroot"
# Configuration file (Default: /etc/make-live.conf)
#LIVE_CONFIG="/etc/make-live.conf"
# Debian distribution (Default: sid)
LIVE_DISTRIBUTION="etch"
# Image filesystem (Default: squashfs for iso, plain for net)
LIVE_FILESYSTEM="squashfs"
# Bootstrap flavour (Default: standard)
#LIVE_FLAVOUR="standard"
# Bootstrap config (Default: empty)
#LIVE_BOOTSTRAP_CONFIG=""
# User command (Default: empty)
#LIVE_HOOK=""
# Chroot includes (Default: empty)
#LIVE_INCLUDE_CHROOT=""
# Image includes (Default: empty)
#LIVE_INCLUDE_IMAGE=""
# Kernel flavour (Default: auto-detected)
LIVE_KERNEL="686"
# Kernel packages (Default: auto-detected)
#LIVE_KERNEL_PACKAGES=""
# Desktop package manifest (Default: empty)
#LIVE_MANIFEST=""
# Debian mirror (Default: http://ftp.debian.org/debian/)
#LIVE_MIRROR="http://ftp.debian.org/debian/"
# Debian security mirror (Default: http://security.debian.org/)
#LIVE_MIRROR_SECURITY="http://security.debian.org/"
# Packages (Default: empty)
#LIVE_PACKAGES="sun-java5-jre tomcat5.5 libxalan2-java libbatik-java liblog4j1.2-java bridge-utils ifenslave-2.6 openssh-server tcpdump proftpd libcommons-collections3-java libcommons-fileupload-java"
# Package list (Default: standard)
LIVE_PACKAGE_LIST="minimal-net"
# Chroots ftp_proxy (Default: empty)
#LIVE_PROXY_FTP=""
# Chroots http_proxy (Default: empty)
#LIVE_PROXY_HTTP=""
# Custom repositories (Default: none)
#LIVE_REPOSITORIES=""
# Custom repository list
#LIVE_REPOSITORY_bpo="http://www.backports.org/debian/"
#LIVE_REPOSITORY_KEY_bpo="http://backports.org/debian/archive.key"
#LIVE_REPOSITORY_KEYRING_bpo=""
#LIVE_REPOSITORY_DISTRIBUTION_bpo="sarge-backports"
#LIVE_REPOSITORY_SECTIONS_bpo="main contrib non-free"
#LIVE_REPOSITORY_edu="http://ftp.skolelinux.org/skolelinux/"
#LIVE_REPOSITORY_KEY_edu=""
#LIVE_REPOSITORY_KEYRING_edu="debian-edu-archive-keyring"
#LIVE_REPOSITORY_DISTRIBUTION_edu="etch-test"
#LIVE_REPOSITORY_SECTIONS_edu="local"
#LIVE_REPOSITORY_duo="http://ftp.debian-unofficial.org/debian/"
#LIVE_REPOSITORY_KEY_duo="http://ftp-master.debian-unofficial.org/key_2006.asc"
#LIVE_REPOSITORY_KEYRING_duo=""
#LIVE_REPOSITORY_DISTRIBUTION_duo=""
#LIVE_REPOSITORY_SECTIONS_duo="main contrib non-free restricted"
#LIVE_REPOSITORY_fai="http://www.informatik.uni-koeln.de/fai/download/"
#LIVE_REPOSITORY_KEY_fai=""
#LIVE_REPOSITORY_KEYRING_fai=""
#LIVE_REPOSITORY_DISTRIBUTION_fai="etch"
#LIVE_REPOSITORY_SECTIONS_fai="koeln"
# Debian section (Default: main)
LIVE_SECTION="main contrib non-free"
# Netboot server (Default: 192.168.1.1)
LIVE_SERVER_ADDRESS="192.168.1.1"
# Netboot path (Default: /srv/debian-live/chroot)
#LIVE_SERVER_PATH=""
# Image templates (Default: /usr/share/make-live/templates)
#LIVE_TEMPLATES="/usr/share/make-live/templates"
# Generic package indices (Default: no)
#LIVE_GENERIC_INDICES="no"
# Source images (Default: no)
#LIVE_SOURCE="no"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recreate.sh
Type: application/x-shellscript
Size: 815 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070125/2cb07317/recreate.bin
Reply to: