2

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 ?

2
  • What linux distribution do you use? Many distributions have jdk packages in their repositories.
    – vtest
    Commented Mar 31, 2011 at 7:59
  • Debian - Ubuntu
    – marioosh
    Commented Mar 31, 2011 at 8:02

1 Answer 1

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...

1
  • 1
    I can not use sudo (permissions). I just need to get (wget) jdk zip/tgz/bz2.
    – marioosh
    Commented Jun 18, 2011 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .