Installing jdk? [RESOLVED]
A. Jorge Garcia
calcpage at aol.com
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
Synaptic
>> 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
*.bin
> file directly from java.sun.com, 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 java.sun.com (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
http://us.archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2010l-0ubuntu0.10.04_all.deb
404 Not Found
W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata-java_2010l-0ubuntu0.10.04_all.deb
404 Not Found
W: Failed to fetch
http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-doc_6b18-1.8.1-0ubuntu1_all.deb
504 Timeout
One question, what's the difference between installing apps via the
Ubuntu Software Center vs. Synaptic vs. sudo aptitude install stuff?
Thanx,
A. Jorge Garcia
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College
More information about the ubuntu-users
mailing list