LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   jdk for debian (https://www.linuxquestions.org/questions/debian-26/jdk-for-debian-479111/)

win2suse 08-31-2006 08:01 AM

jdk for debian
 
Hallo all,

I'm learning to program in Java on my debian following a tutorial on
http://java.sun.com/docs/books/tutor...java/unix.html
The instructions on
http://java.sun.com/javase/6/webnote...all-linux.html
don't work on my debian see
http://www.linuxquestions.org/questi...d.php?t=478698
From a previous post
http://www.linuxquestions.org/questi...d.php?t=443680
, I tried to install java jdk using
apt-get install java-package
However the pacakge is not found in the depot.
Could anyone tell me know how i could correctly install my Java engine?

HappyTux 08-31-2006 10:46 AM

You need a line for unstable containing non-free in your sources.list to get an official Debian package(s) of the Java otherwise you would need to search either for the Blackdown java sources or one of the guides to installing java on Debian using the Sun packages.

Code:

apt-cache policy sun-java5-jdk
sun-java5-jdk:
  Installed: (none)
  Candidate: 1.5.0-08-1
  Version table:
    1.5.0-08-1 0
        600 http://ftp2.de.debian.org sid/non-free Packages



All times are GMT -5. The time now is 12:28 AM.