Java ide installation (Sun)
Haim Ashkenazi
haim at babysnakes.org
Tue Feb 20 06:27:49 UTC 2007
John Dangler wrote:
> I'm trying to install Sun Studio 8.1 .
> I've run update-alternatives, and selected the sun java 1-5r11 as my
> jdk.
>
> During the first part of the install, the sun studio installer script
> asks for the location of the jdk (it doesn't find one on the system).
>
> I'm trying to find the location of the jdk, but can't seem to locate it.
> apt-cache show sun-java5-jdk doesn't tell me where it was installed, and
> a locate sun-java5-jdk shows 98% of the entries in /usr/share/doc, so I
> don't think it's there.
>
> Does anyone know what location the installer might want?
> (I've read through the installation docs, but they don't say anything
> other than the obvious -- "if the dialog shows no jdk, just navigate to
> where your jdk is installed and provide that path")
just run "update-java-alternatives -l" and you'll get a list of java virtual
machines installed on your computer. you should probably make sure that the
active one is the one from sun if you want to run sun studio.
also, apt-cache is not the right tool to show installed files. you should
either use the synopsis or "dpkg -L".
Bye
--
Haim
More information about the ubuntu-users
mailing list