JDK (Java Development Kit) is a software that provides development tools for creating Java programs.
Installation
First we must download the package from the java website, select your platform, in our case Linux:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Here we go down the file "jdk-6u21-linux-i586.bin" to any folder, then leave where appropriate.
Now we have to give execute permissions:
sudo chmod +x jdk-6u23-linux-i586.bin
and install:
sudo ./jdk-6u23-linux-i586.bin
Now move the generated folder to a more appropriate directory:
sudo mv jdk1.6.0_23/ /usr/local
We set the new Java as one of the alternatives "java"
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/jdk1.6.0_23/bin/java" 1
Now we set the "new alternative" as real Java. This step makes the sun is the version used by default:
sudo update-alternatives --set java /usr/local/jdk1.6.0_23/bin/java
Now we do the same steps above for javac:
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/jdk1.6.0_23/bin/javac" 1
sudo update-alternatives --set javac /usr/local/jdk1.6.0_23/bin/javac
Now verify that everything works properly. Open the console and type:
java -version
If all is well, you should return the following:
java version "1.6.0_23"
Java (TM) SE Runtime Environment (build 1.6.0_23-B06)
Java HotSpot (TM) Client VM (build 17.0-b16, mixed mode, sharing)
For javac:
javac -version
If all is well back:
javac 1.6.0_23
If you have other installations of java / javac can be configured using the following commands:
sudo update-alternatives --config java
sudo update-alternatives --config javac
Also if you want setear JRE_HOME JAVA_HOME or as environment variables, we must go to:
sudo gedit /etc/environment
Here we record the routes where we have installed Java, in our case is as follows:
JAVA_HOME = "/usr/local/jdk1.6.0_23/bin/" (add)
JRE_HOME = "/usr/local/jdk1.6.0_23/jre" (add)
PATH ="...(other routes):$JAVA_HOME:$JRE_HOME (edit)
With this we finish the installation.
Il problema e' che conviene usare i repo di Ubuntu. In questa guida te installi la JDK 6 update 21. Da repo, abilitando il repository "Canonical Partner", installa la update 22, mentre l'attuale versione presente sul sito e' la update 23.
RispondiEliminaNon che questa guida sia sbagliata, ma con riferimenti cosi' assoluti ai download ti trovi che installerai sempre la 21 (finche' non salta il link o finche' non aggiorni la guida :) ), mentre usando i repo ufficiali "insegui" la versione quasi attuale.
E poi te mi installi solo la 32 bit mannaggia... Esiste anche la versione per Linux x64...
Ma cosa cambia beppe??? :) segui la stessa guida per le versioni nuove che usciranno!!
RispondiEliminaseguí las instrucciones y todo salió a la perfección, aun y cuando instalé la version 24
RispondiEliminaIs it needed to download JDK? Isn't better to download just JRE?
RispondiEliminaIf you are doing any Java or Java Server Pages (JSP) development then you probably want the JDK. If you are just needing to support plugins or applets, then the JRE is probably sufficient.
RispondiEliminathx man you are my saver!
RispondiEliminaMUST BE!
RispondiEliminaJAVA_HOME="/usr/local/jdk1.6.0_23"
...and
RispondiEliminaPATH=$JAVA_HOME/bin:$PATH
search engine optimization companyIn Ear Hearing AidHey I'm Danielle, i was wondering if you could check out my groups blog spot for my class and if you could please follow us too. love your page by
RispondiEliminathank you for the instructions... worked perfectly ...
RispondiEliminaI am going to install java JDK on my ubuntu PC, thank you so much for helping to install this.
RispondiEliminaI followed instructions from a stackoverflow discussion which seemed to have fewer steps to install JDK6 on ubuntu 10.04 .. here is what I did. not sure if this has any negative affects..
RispondiElimina1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:sun-java-community-team/sun-java6
3. sudo apt-get update
4. sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk
This is a good tutorial. Short, to the point, and works. Thanks!
RispondiEliminaShow de bola... mui grato!!
RispondiEliminaNice Blog. This blog is very interesting and you are provide best information for users. I always visited your blog site.Thanks for your wonderful sharing .
RispondiEliminaliferay development and liferay portal
thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..thank you..really helpful
RispondiEliminaGrazie mille da Danimarca!
RispondiEliminaI have study your website and I got very useful and experienced details from your website. It’s really a very awesome content. You have done an excellent job. Thank you so much for discussing about java development kit.
RispondiEliminaIt works with me using ubuntu unity 12.04. Thanks a lot.
RispondiEliminaThanks for the post. You should take part in a contest for one of the best blogs on the web. I will recommend this site got information ofonline job portalIt’s hard to find knowledgeable online job portalbut you sound like you know what you’re talking about! Thanks for sharing this with others.
RispondiEliminaI am always searching for informative information like this. Thanks for sharing with us........ by OPS 571 Final Exam provider.
RispondiEliminaIam really glad that I have gone through a great post.keep posting these type of Articles which would be useful for
RispondiEliminaeveryone...please visit our website for more info:
MGT 498 Week 1
It’s really a very awesome content. You have done an very good job. express gratitude you so much for discussing the installation.by MGT 311 Final Exam
RispondiEliminaThe blog is absolutely fantastic. Lots of great information and inspiration, both of which we all need.Thank a lot for sharing such all this....by ETH 316 Week 5 Individual Assignment provider
RispondiEliminaGreat content i would be glad if you still post these type of Articles so that i can gain lot of information.For more information please go through
RispondiEliminaMGT 498 Week 4
Great resourses.I really appreciate for posting such a great Article.it could be the better if you still have additional stuff...by ETH 316 Final provider
RispondiEliminaNice Blog. This blog is actual absorbing and you are accommodate best advice for users. I consistently visited your blog site.Thanks for your admirable administration .by LDR 531 Week 3 Assignment
RispondiEliminaI have been looking the World Wide Web for this information and I want to thank you for this post. It’s not easy to find such perfectly written information on this topic. Great Work!pheonix property management
RispondiEliminaThe first thing is that you have to plan your time. It means that you have to share your study load on all of the months of the semester. When doing so you have already acquired the required knowledge before the exam day approaches....for more information you can also go through
RispondiEliminaMGT 498
The blog is actually fantastic. Lots of abundant advice and inspiration, both of which we all need.Thank a lot for administration such all this... by ETH 316 Week 3 Idividual Assignment provider
RispondiEliminaNice Blog. This blog is actual absorbing and you are accommodate best advice for users. I consistently visited your blog site.Thanks for your admirable administration .... by ETH 316 Week 5 Idividual Assignment provider
RispondiEliminaThe blog is actually fantastic. Lots of abundant advice and inspiration, both of which we all need.Thank a lot for administration such all this....by
RispondiEliminaMGT 420 Week 2 provider.
Thank you so much for providing this valuable information. It is very important to us. You Posted a Good Stuff... by MGT 521 provider
RispondiEliminaThis article is really fantastic and thanks for sharing the valuable post.
RispondiEliminaSignature:
download descarga facebook gratis para Android celular and download free descargar facebook gratis and descargar facebook gratis , descarga facebook
You topic is very great and useful for us…thank you
RispondiEliminakids games online
friv 2
unblocked games
juegos de un show mas
Yalova
RispondiEliminaHatay
Muş
Bursa
Mersin
3LJ6WF
yozgat
RispondiEliminasivas
bayburt
van
uşak
CWGAEC
72CEA
RispondiEliminaBig Wolf Coin Hangi Borsada
Btcst Coin Hangi Borsada
Yalova Lojistik
Bartın Lojistik
İstanbul Evden Eve Nakliyat
Çerkezköy Sineklik
Rize Evden Eve Nakliyat
Etimesgut Fayans Ustası
Aksaray Lojistik
C8669
RispondiEliminatokat sohbet sitesi
sesli sohbet sesli chat
Afyon Sohbet Siteleri
sesli sohbet sesli chat
bayburt sesli sohbet sitesi
edirne bedava sohbet
yalova ücretsiz sohbet
sohbet sitesi
ısparta Sohbet Muhabbet
554C4
RispondiEliminaCoin Kazma
Ön Satış Coin Nasıl Alınır
Kwai Takipçi Satın Al
Parasız Görüntülü Sohbet
Likee App Takipçi Satın Al
Discord Sunucu Üyesi Satın Al
NWC Coin Hangi Borsada
Madencilik Nedir
Telcoin Coin Hangi Borsada
13042
RispondiEliminatrezor suite
dcent web
ledger
ellipal wallet
eigenlayer web
wallet bitbox
web trezor
ledger web
ledger live
6C971
RispondiEliminapoocoin
arbitrum
pancakeswap
looksrare
uniswap
defillama
eigenlayer
arculus
ledger wallet
regtrfhgbfjhngj
RispondiEliminaشركة كشف تسربات المياه بالاحساء
CYJYHJK
RispondiEliminaشركة تنظيف مجالس بالاحساء
gtyhnjyhmjkuyk
RispondiEliminaشركة تسليك مجاري بالهفوف
شركة عزل اسطح بالمجمعة lizMzpLD6C
RispondiEliminaشركة صيانة افران بالاحساء JBPIpF7
RispondiElimina