LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-31-2006, 08:01 AM   #1
win2suse
Member
 
Registered: Jul 2006
Posts: 84

Rep: Reputation: 15
Question 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?
 
Old 08-31-2006, 10:46 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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
 
  


Reply

Tags
java



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Jdk onelung02 Linux - Software 5 07-14-2006 03:43 PM
Updating JDK from 1.4.2 to 1.5.0 Enil8 Linux - Newbie 3 02-19-2006 07:48 PM
jdk not working crash_override_me Ubuntu 3 10-18-2005 12:35 PM
Slackware 10 + jdk 1.5 jorge.vargas Slackware 3 07-16-2004 01:42 PM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration