"Aquello que termina o sirve de finalización a algo"

Instalar Sun JDK1.5 en Debian Sarge

with one comment

El procedimiento que se debe seguir despues de descomprimir el paquete de Sun en /usr/local/lib/jdk[version] es el siguiente:

ln -s /usr/local/lib/jdk[version] /usr/local/lib/jdk
mkdir -p /var/install/java/pkg
cd /var/install/java/pkg
cp /usr/share/doc/java-common/dummy-packages/*.control .
equivs-build java-compiler-dummy.control
equivs-build java-virtual-machine-dummy.control
equivs-build java1-runtime-dummy.control
equivs-build java2-compiler-dummy.control
equivs-build java2-runtime-dummy.control
dpkg -i java2-runtime-dummy_1.0_all.deb
dpkg -i java2-compiler-dummy_1.0_all.deb
dpkg -i java-virtual-machine-dummy_1.0_all.deb
update-alternatives --verbose --install /usr/bin/java  java /usr/local/lib/jdk/bin/java 500
update-alternatives --verbose --install /usr/bin/javac  javac /usr/local/lib/jdk/bin/javac 500
update-alternatives --verbose --install /usr/bin/jar  jar /usr/local/lib/jdk/bin/jar 500
update-alternatives --verbose --install /usr/bin/jarsginer  jarsigner /usr/local/lib/jdk/bin/jarsigner 500
update-alternatives --verbose --install /usr/bin/appletviewer  appletviewer /usr/local/lib/jdk/bin/appletviewer 500
update-alternatives --verbose --install /usr/bin/rmic  rmic /usr/local/lib/jdk/bin/rmic 500
update-alternatives --verbose --install /usr/bin/rmiregistry  rmiregistry /usr/local/lib/jdk/bin/rmiregistry 500
echo "export JAVA_HOME=/usr/local/lib/jdk" >> /etc/profile
echo "export PATH=$JAVA_HOME/bin:$PATH" >> /etc/profile

Written by jalvarez

2005/10/17 at 12:14

Posted in Tecnología

One Response

Subscribe to comments with RSS.

  1. Nice blog. Your posts were interesting reading. I have a free music downloads site. In addition to free music downloads, you can get music of some of today’s top artists’ such as Green Day, Gwen Stefani, Simple Plan, Usher and many more. Please try and
    visit it, see what you think.

    Rod Pendergrass

    2005/10/17 at 12:30

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: