-
Junior Member
registered user
If you have Knoppix 5.3.1, it is mostly Debian Lenny. Right now on i386 the only sun-java that the official Debian repo installs correctly so it works is the sun-java5-jre sun-java5-plugin combination.
I believe it is already installed on Knoppix 5.3.1 though, so perhaps you are looking to install the development kit? I think that is sun-java5-sdk (something like that). Just do:
aptitude update
aptitude keep-all
aptitude search sun-java5
See what the exact package is named.
aptitude install sun-java5-sdk (if that's the name).
I say do aptitude keep-all because Knoppix may have been built using apt-get and/or synaptic so aptitude needs to be told not to start removing what it thinks were automatically installed packages. From then on you can use it safely as long as you just use it. If you intend to install/remove stuff using apt-get or synaptic then you'd need to do aptitude keep-all again, defeating the purpose of its internal package management. Might as well never use it in that case. It's the best Debian front end to apt, but must be used exclusively to be most effective. Open the NCurses GUI by just running:
aptitude
and check out its help manual.
If you don't love aptitude then just use apt-get or synaptic to accomplish the same purpose. You should be able to get Java installed and working fine. Eventually the Java 6 packages will get fixed.
To make sure sun is set as the system java:
update-java-alternatives java-1.5.0-sun set
update-alternatives --config java
update-alternatives --config java_vm
update-alternatives --config javaws
update-alternatives --config firefox-javaplugin.so
update-alternatives --config iceweasel-javaplugin.so
update-alternatives --config mozilla-javaplugin.so
update-alternatives --config iceape-javaplugin.so
update-alternatives --config xulrunner-javaplugin.so
Not sure whether you'll need to do the update-alternatives --config stuff once you've done update-java-alternatives with the set switch as that usually configures all of them.
Similar Threads
-
By sperovita in forum The Lounge
Replies: 3
Last Post: 01-07-2007, 04:52 AM
-
By Albretch in forum Customising & Remastering
Replies: 0
Last Post: 11-06-2005, 01:17 AM
-
By xaviers2002 in forum General Support
Replies: 1
Last Post: 07-23-2004, 02:53 AM
-
By xaviers2002 in forum Hdd Install / Debian / Apt
Replies: 17
Last Post: 07-11-2004, 05:53 AM
-
By sjlinux in forum General Support
Replies: 8
Last Post: 02-24-2004, 11:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord
$49.99