Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to download specific JDK version but from console in Linux. I have not lynx/elinks etc linstalled. Where can i download Java Development Kit (JDK) from ftp ?

share|improve this question
    
What linux distribution do you use? Many distributions have jdk packages in their repositories. –  vtest Mar 31 '11 at 7:59
    
Debian - Ubuntu –  marioosh Mar 31 '11 at 8:02

1 Answer 1

You can also use wget to download files over http.

To install Sun JDK, do the following...

Add this line to /etc/apt/sources.lst

deb http://archive.canonical.com/ maverick partner

Then sudo-apt-get install sun-java6-jdk will install it.

Assuming Ubuntu 10.10, here...

share|improve this answer
1  
I can not use sudo (permissions). I just need to get (wget) jdk zip/tgz/bz2. –  marioosh Jun 18 '11 at 14:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.