Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to Install Java?
-
- Posts: 3
- Joined: 2010-01-04 09:56
How to Install Java?
Hey...i am new to debian and i am trying to install java in debian but cant...Please Help....
Re: How to Install Java?
First, some questions that will help us to help you.
Which version of Debian?
32 bit / 64 bit computer?
What did you try?
Look at the wiki - http://wiki.debian.org/Manual-Howto#Jav ... RE.29AMD64
Which version of Debian?
32 bit / 64 bit computer?
What did you try?
Look at the wiki - http://wiki.debian.org/Manual-Howto#Jav ... RE.29AMD64
Re: How to Install Java?
i did it that way:
a)
i made sure my repositories contain contrib and non-free like here
(its only bout contrib; non-free, dont replace lenny by sid or the country-code;
just make sure contrib and non-free is at the end of your existing line !) :
b)
i ran apt-get update
c)
d)
i checked if it did work here:
http://www.java.com/de/download/help/testvm.xml
it did work without further actions.
might be you prefer doing it from synaptic.
###############
the better option might be using the free version:
(in this case better is not only better=free, but better= of a better quality. i couldn`t get it running, though i did run update-alternatives***, not sure why.
wait if someone might give you a hand with that)
a)
i made sure my repositories contain contrib and non-free like here
(its only bout contrib; non-free, dont replace lenny by sid or the country-code;
just make sure contrib and non-free is at the end of your existing line !) :
Code: Select all
deb http://ftp.de.debian.org/debian/ sid main contrib non-free
i ran apt-get update
c)
Code: Select all
apt-get install sun-java6-jre
apt-get install sun-java6-plugin
i checked if it did work here:
http://www.java.com/de/download/help/testvm.xml
it did work without further actions.
might be you prefer doing it from synaptic.
###############
the better option might be using the free version:
Code: Select all
apt-get install openjdk-6-jre
apt-get install icedtea6-plugin
wait if someone might give you a hand with that)
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
-
- Posts: 3
- Joined: 2010-01-04 09:56
Re: How to Install Java?
E: Malformed line 13 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
i have this problem and i want to install jvm on my debian version 4 stable.i edited my source.list file which every time makes a new sources.list~.without updating the link mentioned in sources.list.
plz help me.
E: The list of sources could not be read.
i have this problem and i want to install jvm on my debian version 4 stable.i edited my source.list file which every time makes a new sources.list~.without updating the link mentioned in sources.list.
plz help me.
- craigevil
- Posts: 5391
- Joined: 2006-09-17 03:17
- Location: heaven
- Has thanked: 28 times
- Been thanked: 39 times
Re: How to Install Java?
Please paste your /etc/apt/sources.listalikhurshid wrote:E: Malformed line 13 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
i have this problem and i want to install jvm on my debian version 4 stable.i edited my source.list file which every time makes a new sources.list~.without updating the link mentioned in sources.list.
plz help me.
Also keep in mind that support for Etch ends some time next month, so you may want to start thinking about updating to Lenny.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
-
- Posts: 3
- Joined: 2010-01-04 09:56
Re: How to Install Java?
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 DVD Binary-1 20080803-20:48]/ etch contrib main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.us.debian.org/debian etch main contrib non-free
deb http://ftp.de.debian.org etch/non-free
deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 DVD Binary-1 20080803-20:48]/ etch contrib main
this is my sources.list file.
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 DVD Binary-1 20080803-20:48]/ etch contrib main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.us.debian.org/debian etch main contrib non-free
deb http://ftp.de.debian.org etch/non-free
deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 DVD Binary-1 20080803-20:48]/ etch contrib main
this is my sources.list file.
Re: How to Install Java?
line 13 is this one:
malform is this -> etch/non-free ||| which should be -> etch non-free
either remove the whole line, as its an double entry, or, if you need that line from the german ftp-site for any reason, correct it:
greetings
Code: Select all
deb http://ftp.de.debian.org etch/non-free
either remove the whole line, as its an double entry, or, if you need that line from the german ftp-site for any reason, correct it:
Code: Select all
deb http://ftp.de.debian.org etch non-free
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.