LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing java (https://www.linuxquestions.org/questions/linux-software-2/installing-java-737880/)

asliyanage 07-05-2009 01:32 PM

installing java
 
i have installed java using sudo apt-get command.
is it possible to chang the path where the java installing as in windows?

kirukan 07-05-2009 02:13 PM

Refer this link
http://www.linuxquestions.org/questi...-help-me-6441/

knudfl 07-05-2009 02:21 PM

Unless you have more than one version of java installed,
there shouldn't be any set-up required for Ubuntu 9.04 .

Please show the output from the command : java -version

.....

knudfl 07-06-2009 03:19 AM

And no, apt-get will install to
/usr/lib/jvm/java-6-sun-1.6.0.xx/
only, and make links from
/usr/lib/jvm/java-6-sun-1.6.0.xx/bin/
to /etc/alternatives/ , and from
' /etc/alternatives/j** ' to /usr/bin
so all applications requiring the java
functions can find it.

And yes, any package can be unpacked to a location
by your choice. Then configuration lines / files
must be made, for applications to find the libs
and binaries from the package.
.....


All times are GMT -5. The time now is 02:30 PM.