Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am undecided about whether to install the default-jdk java development package or the tarball from sun. How do I check the version information in the default-jdk or other package without actually installing it and all its dependencies?

Thanks,

John Goche

share|improve this question
add comment

1 Answer

run apt-get install package --print-uris

this will display all the dependencies of the package you need to install

it will show the package name like below from which you can get the version default-jdk_1%3a1.6-42ubuntu2_i386.deb

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.