Problems installing Java 6 on Ubuntu

Lets see I can get this done before American Idol tonight.
Ok.. I was following the sequence of what I needed to get installed prior to running Open Cascade on Ubuntu and I had a bit of a meltdown when I tried to install the Java 6 library. From some of the things I’ve been seeing on the net, apparently I’m not alone. I looked at three references from the net that looked sort of interesting:
http://ubuntuforums.org/showthread.php?t=422692


http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu.html


http://www.antbook.org/display/antbook/Installing+Java+6+on+Ubuntu+7.04

I had printed this links from win 2000 machine running Explorer and I’m amazed how much richer they are looking at these pages in Ubuntu running on firefox. I wonder if the opposite is true. Of course, the link I really liked the antbook doesn’t seem to be working at the moment.
It uses synaptic to simultaneously take off the non-sun Java and install the Sun version.
Anyway Idol just started and I missed Brook. Darn it…
I think that I missed some magic Keystroke combination, doing what I did.
Perhaps I can find it on my output while reading Idol…
Need to figure out how to undo my partial install. I think I can do it through synaptic.
I fired up synaptic this message popped up:
E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.
E: _cache->open() failed, please report.

Then I went into terminal and did the following:

jonas@jonas-desktop:~$ cd\\
bash: cd\: command not found
jonas@jonas-desktop:~$ cd..
bash: cd..: command not found
jonas@jonas-desktop:~$ cd ..
jonas@jonas-desktop:/home$ cd ..
jonas@jonas-desktop:/$ cd ..
jonas@jonas-desktop:/$ cd ..
jonas@jonas-desktop:/$ sudo dpkg –configure -a
[sudo] password for jonas:
Setting up java-common (0.26ubuntu1) …

Setting up odbcinst1debian1 (2.2.11-16) …

Setting up unixodbc (2.2.11-16) …

Setting up gcc-3.3-base (1:3.3.6-15ubuntu2) …
Setting up libstdc++5 (1:3.3.6-15ubuntu2) …

Processing triggers for libc6 …
ldconfig deferred processing now taking place
jonas@jonas-desktop:/$

Clicked the box not I got a message about a broken package. Something about needing the broken filter…

American Idol prediction. Ramielle or Christie will be voted off.

Ok ran the filter it popped up. Sun-java6-bin as broken. I ran a search on just java and it looks like nothing else java6 is loaded. I marked it for complete removal and applied the changes, hopefully I’m back to where I was. When I get a chance I want to use the antbook suggestion on how to load and see what happens.

This entry was posted in Ubuntu C++ OCC. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *