@related : Java jdk plugin vm jre AppleT

Install

[[LibreSoftware]]

http://www.debian.org/doc/manuals/debian-java-faq/ # Debian

apt-get install free-java-sdk gcj libgcj-dev kaffe gcjwebplugin # [[Debian]]

RUNTIME

l='
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-bin_6.26-2natty1_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-demo_6.26-2natty1_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-fonts_6.26-2natty1_all.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-javadb_6.26-2natty1_all.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-jdk_6.26-2natty1_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-jre_6.26-2natty1_all.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-plugin_6.26-2natty1_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-source_6.26-2natty1_all.deb
'

  sudo aptitude install unixodbc java-common
  for t in $l ; do wget -c $t ; done
  sudo time dpkg -i sun-java6-bin*.deb sun-java6-jre*.deb sun-java6-jdk*.deb # *.deb
  sudo dpkg -i *.deb

setup

# cd /etc/alternatives/ && ls *java* | while read t ; do update-alternatives --config $t ; done

cd /etc/alternatives ; ls *java* | grep -v .gz | xargs -n 1 echo sudo update-alternatives --config 

sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javadoc
sudo update-alternatives --config javah
sudo update-alternatives --config javap
sudo update-alternatives --config java_vm
sudo update-alternatives --config javaws

[[ClosedSource]] [[Software]] : [[Debian]]

sudo apt-get install java-common java-package unp orange equivs
http://java.sun.com/javase/downloads
make-jpkg ~/incoming/jdk-1_5_0_06-linux-i586.bin

Obsolete info :

http://www.debian.org/doc/manuals/debian-java-faq/ch11.html#s11.2http://www.debian.org/doc/manuals/debian-java-faq/ch11.html#s11.2 Debian

sudo apt-get install java-common java-package unp orange equivs
cd /opt/ &&  unp ~/incoming/jdk-1_5_0_06-linux-i586.bin
cd /opt/jdk* && ln -fs $(pwd) /usr/local/lib/jdk
less /usr/local/lib/jdk/LICENSE
mkdir -p /tmp/var/install/java/pkg ; cd /tmp/var/install/java/pkg
cp -f /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
sodu dpkg -i *.deb
sudo update-alternatives --verbose --install \
/usr/bin/java java /usr/local/lib/jdk/bin/java 500 \
  *-slave /usr/share/man/man1/java.1 java.1 /usr/local/lib/jdk/man/man1/java.1
sudo apt-get remove  j2sdk1.4 j2re1.4 # [[Optional]]

[[RPM]]

http://java.sun.com/j2se/1.5.0/download.jsp

ed2k://|file|jdk-1_5_0_01-linux-i586-rpm.bin|44576863|145e58ba90f471e55119e72952aebee7|
cd /opt/
sh jdk-1_5_0_01-linux-i586-rpm.bin
# Unpacking...
# Checksumming...
# 0
# 0
# Extracting...
# UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
#  inflating: jdk-1_5_0_01-linux-i586.rpm

Install [[Java]] SDK for [[GNU]]/[[Linux]] [[Debian]]

sudo apt-get install \
free-java-sdk gcjwebplugin java-common java-gcj-compat-dev
update-alternatives  --config javac

http://packages.debian.org/cgi-bin/search_contents.pl?word=javac&searchmode=searchfiles&case=insensitive&version=unstable&arch=i386

dpkg -S equivs-build
dpkg: *equivs-build* not found.

ToDo

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
   update-alternatives --verbose --install /usr/bin/java java /usr/local/lib/jdk/bin/java 500 \
     *-slave /usr/share/man/man1/java.1 java.1 /usr/local/lib/jdk/man/man1/java.1

cd /tmp/
sh jdk-1_5_0_01-linux-i586-rpm.bin
# Unpacking...
# Checksumming...
# 0
# 0
# Extracting...
# UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
#  inflating: jdk-1_5_0_01-linux-i586.rpm
# rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
# error: cannot open Packages index using db3 - No such file or directory (2)
# error: cannot open Packages database in /var/lib/rpm
fakeroot alien  jdk-1_5_0_01-linux-i586.rpm
sudo dpkg -i jdk_1.5.0_01-1_i386.deb
dpkg -L jdk | grep java
/usr/java/jdk1.5.0_01/bin/java -version
export JAVA_HOME=/usr/java/jdk1.5.0_01
export PATH=$JAVA_HOME/bin:$PATH
${JAVA_HOME}/bin/java -version

https://linuxfr.org/forums/15/6661.html

Debian script : http://serios.net/content/debian/java/with-java-package.php

deb http://mirrors.ibiblio.org/pub/mirrors/blackdown/ unstable non-free

Host http://www.myjavaserver.com/servlet/jbluesman.tr.Translate?text=weird&tr=en_it

jvm.txt · Last modified: 2012/11/04 21:02 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki