Installing jdk? [RESOLVED]

A. Jorge Garcia calcpage at
Mon Oct 25 22:58:31 UTC 2010

>> I am only guessing here but it seems that you are trying to install
>> manually rather than using the Synaptic Package Manager. Although I
>> am running 32-bit system I can see the sun-java jdk sitting in 
>> waiting to be installed. Why not check that all the right Sources are
>> selected (System>Administration>Sources) and then let Synaptic
>> install jdk?

> In the past, on older Debian distros, I downloaded an executable 
> file directly from, extracted it in a system folder like
> /usr/bin and change the /etc/profile so it would be available to all
> users.  Can I do that in Ubuntu?  I couldn't find the profile....

OK, I used Synaptic to search for and install default-jdk.  I know have 
java, javac and javadoc installed, but it seems these are based on gcj. 
  I never used gcj in the past as it was not entirely compatible with 
the standard version from (now oracle) but I think its a 
lot more compatible now-a-days, so this will work!

Though not a show stopper, there were a couple of errors, however:
W: Failed to fetch
  404  Not Found
W: Failed to fetch
  404  Not Found
W: Failed to fetch
  504  Timeout

One question, what's the difference between installing apps via the 
Ubuntu Software Center vs. Synaptic vs. sudo aptitude install stuff?

A. Jorge Garcia

Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College

More information about the ubuntu-users mailing list