Kezdőlap › Fórumok › Debiannal kapcsolatos kérdések › Debian ETCH és a java
- This topic has 52 hozzászólás, 9 résztvevő, and was last updated 18 years telt el by
kisbetu.
-
SzerzőBejegyzés
-
2007-05-09-12:01 #2105754
TeknosPancel. Köszi, de akkor sem jó. Ezt nézd:
vasy:/home/vasy# apt-get install java-package
Csomaglisták olvasása… Kész
Függőségi fa építése… Kész
E: Az alábbi csomag nem található: java-package
vasy:/home/vasy#Szóval, akkor ez így gáz. De megpróbálom leszedni, hátha megcsinálom a .deb-et és hátha menni fog.
2007-05-09-12:01 #2105755TeknosPancel. Köszi, de akkor sem jó. Ezt nézd:
vasy:/home/vasy# apt-get install java-package
Csomaglisták olvasása… Kész
Függőségi fa építése… Kész
E: Az alábbi csomag nem található: java-package
vasy:/home/vasy#Szóval, akkor ez így gáz. De megpróbálom leszedni, hátha megcsinálom a .deb-et és hátha menni fog.
2007-05-09-12:06 #2105756de ne a 1.6-ot
miért nem, mi a baj az 1.6 ossal ?
én beta kora óta használom nem volt semmi gondom eddig.
és szerintem gyorsabb, kevesebb erőforrást eszik mint az 1.5-samúgy a debian etch ben is vannak java csomagok:
apt-cache search jre
sun-java5-bin – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-fonts – Lucida TrueType fonts (from the Sun JRE)
sun-java5-jre – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin – The Java(TM) Plug-in, Java SE 5.0többek között
2007-05-09-12:06 #2105757de ne a 1.6-ot
miért nem, mi a baj az 1.6 ossal ?
én beta kora óta használom nem volt semmi gondom eddig.
és szerintem gyorsabb, kevesebb erőforrást eszik mint az 1.5-samúgy a debian etch ben is vannak java csomagok:
apt-cache search jre
sun-java5-bin – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-fonts – Lucida TrueType fonts (from the Sun JRE)
sun-java5-jre – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin – The Java(TM) Plug-in, Java SE 5.0többek között
2007-05-09-12:10 #2105758ventura wrote:de ne a 1.6-ot
miért nem, mi a baj az 1.6 ossal ?
én beta kora óta használom nem volt semmi gondom eddig.
és szerintem gyorsabb, kevesebb erőforrást eszik mint az 1.5-samúgy a debian etch ben is vannak java csomagok:
apt-cache search jre
sun-java5-bin – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-fonts – Lucida TrueType fonts (from the Sun JRE)
sun-java5-jre – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin – The Java(TM) Plug-in, Java SE 5.0többek között
Ennyi az ETCH 😉 Tessék, nekem nincsen benne olyan. 😉
vasy:/home/vasy# apt-cache search jre
docbook-jrefentry – DocBook XML JRefEntry DTD
docbook-xsl – stylesheets for processing DocBook XML files to various output formats
docbook-xsl-stylesheets-ko – Stylesheets for processing DocBook XML files to HTML and FO in korean.
kaffe – A JVM to run Java bytecode
wordnet-sense-index – electronic lexical database of English language
vasy:/home/vasy#TeknosPancel:
vasy:/home/vasy/Progik# fakeroot make-jpkg j2sdk-1_4_2_14-linux-i586.bin
bash: fakeroot: command not found
vasy:/home/vasy/Progik#2007-05-09-12:10 #2105759ventura wrote:de ne a 1.6-ot
miért nem, mi a baj az 1.6 ossal ?
én beta kora óta használom nem volt semmi gondom eddig.
és szerintem gyorsabb, kevesebb erőforrást eszik mint az 1.5-samúgy a debian etch ben is vannak java csomagok:
apt-cache search jre
sun-java5-bin – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-fonts – Lucida TrueType fonts (from the Sun JRE)
sun-java5-jre – Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin – The Java(TM) Plug-in, Java SE 5.0többek között
Ennyi az ETCH 😉 Tessék, nekem nincsen benne olyan. 😉
vasy:/home/vasy# apt-cache search jre
docbook-jrefentry – DocBook XML JRefEntry DTD
docbook-xsl – stylesheets for processing DocBook XML files to various output formats
docbook-xsl-stylesheets-ko – Stylesheets for processing DocBook XML files to HTML and FO in korean.
kaffe – A JVM to run Java bytecode
wordnet-sense-index – electronic lexical database of English language
vasy:/home/vasy#TeknosPancel:
vasy:/home/vasy/Progik# fakeroot make-jpkg j2sdk-1_4_2_14-linux-i586.bin
bash: fakeroot: command not found
vasy:/home/vasy/Progik#2007-05-09-14:09 #2105760apt-get install fakeroot
2007-05-09-14:09 #2105761apt-get install fakeroot
2007-05-09-14:11 #2105762http://www.debian-administration.org/articles/142
Installing Sun’s Java environment on Debian systems
Posted by Steve on Tue 17 May 2005 at 17:50
Tags: java, jdkSeveral popular tools require a Java runtime environment, or JRE, to work. Whilst there a growing number of open Java environments at times installing Sun Java environment is the pragmatic approach – unfortunately the software doesn’t come in a Debian package. This short recipe shows how to install a Java SDK, or JDK, as a Debian package, and make it work inside your browser.
Whilst there is nothing wrong with installing software outside the control of the Debian packaging system, it’s not something that should be undertaken lightly as it makes it hard to keep track of installations, and it complicates updating a number of machines from a centralised Debian package repository.
Thankfully there are facilities available which make it a simple job to install Sun’s Java as a Debian package.
Two packages we’re going to need are java-package, and fakeroot. These can be installed simply:
apt-get install fakeroot java-packageOnce the relevent packages have been installed you will need to download the Sun release of the Java package from http://java.sun.com
At the time of writing the most current version can be found here:
http://java.sun.com/j2se/1.5.0/download.jspOnce you agreed to the license presented to you, and have downloaded the file you will have something like jre-1_5_0_03-linux-i586.bin.
To turn this into a Debian package you should run:
fakeroot make-jpkg jre-1_5_0_03-linux-i586.binThis command will first prompt for confirmation, then :
Ask you for your name
Ask you for your email address
Display a license agreement:
Press Space to scroll down, or q to quit.
Type „yes” to indicate you agree with the terms.(The name, and email address, you give will be inserted into the Debian package information – and not sent to Sun.)
Once these questions have been answered the process will inform you that your package has been built shortly afterwards. The final output you should expect to see will look something like this:
The Debian package has been created in the current directory. You can
install the package as root (e.g. dpkg -i sun-j2re1.5_1.5.0+update03_i386.deb).As the instructions tell you it is now possible for you to install the package by becoming root and running:
dpkg -i sun-j2re1.5_1.5.0+update03_i386.debOne final step might be for you to ensure the Java software works for Mozilla Firefox, or the Mozilla browser.
The package you’ve installed should include a plugin for your browser. At the time of writing the most recent Sun Java version we’ve been using will install a plugin for you at the following location:
/usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.soCreate a symlink to this directory in your home directory:
ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so
~/.mozilla/plugins/If you wish to do this for all users on the current system instead run, as root:
ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/(You might find that the plugin has been automatically installed for all users – so it’s worth checking whether you need to complete this last step yourself.)
2007-05-09-14:11 #2105763http://www.debian-administration.org/articles/142
Installing Sun’s Java environment on Debian systems
Posted by Steve on Tue 17 May 2005 at 17:50
Tags: java, jdkSeveral popular tools require a Java runtime environment, or JRE, to work. Whilst there a growing number of open Java environments at times installing Sun Java environment is the pragmatic approach – unfortunately the software doesn’t come in a Debian package. This short recipe shows how to install a Java SDK, or JDK, as a Debian package, and make it work inside your browser.
Whilst there is nothing wrong with installing software outside the control of the Debian packaging system, it’s not something that should be undertaken lightly as it makes it hard to keep track of installations, and it complicates updating a number of machines from a centralised Debian package repository.
Thankfully there are facilities available which make it a simple job to install Sun’s Java as a Debian package.
Two packages we’re going to need are java-package, and fakeroot. These can be installed simply:
apt-get install fakeroot java-packageOnce the relevent packages have been installed you will need to download the Sun release of the Java package from http://java.sun.com
At the time of writing the most current version can be found here:
http://java.sun.com/j2se/1.5.0/download.jspOnce you agreed to the license presented to you, and have downloaded the file you will have something like jre-1_5_0_03-linux-i586.bin.
To turn this into a Debian package you should run:
fakeroot make-jpkg jre-1_5_0_03-linux-i586.binThis command will first prompt for confirmation, then :
Ask you for your name
Ask you for your email address
Display a license agreement:
Press Space to scroll down, or q to quit.
Type „yes” to indicate you agree with the terms.(The name, and email address, you give will be inserted into the Debian package information – and not sent to Sun.)
Once these questions have been answered the process will inform you that your package has been built shortly afterwards. The final output you should expect to see will look something like this:
The Debian package has been created in the current directory. You can
install the package as root (e.g. dpkg -i sun-j2re1.5_1.5.0+update03_i386.deb).As the instructions tell you it is now possible for you to install the package by becoming root and running:
dpkg -i sun-j2re1.5_1.5.0+update03_i386.debOne final step might be for you to ensure the Java software works for Mozilla Firefox, or the Mozilla browser.
The package you’ve installed should include a plugin for your browser. At the time of writing the most recent Sun Java version we’ve been using will install a plugin for you at the following location:
/usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.soCreate a symlink to this directory in your home directory:
ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so
~/.mozilla/plugins/If you wish to do this for all users on the current system instead run, as root:
ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/(You might find that the plugin has been automatically installed for all users – so it’s worth checking whether you need to complete this last step yourself.)
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz