LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2009, 01:32 PM   #1
asliyanage
Member
 
Registered: Jul 2009
Location: Sri Lanka
Distribution: ubuntu 9.0
Posts: 43

Rep: Reputation: 15
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?
 
Old 07-05-2009, 02:13 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Refer this link
http://www.linuxquestions.org/questi...-help-me-6441/
 
Old 07-05-2009, 02:21 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,403

Rep: Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611
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

.....
 
Old 07-06-2009, 03:19 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,403

Rep: Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611
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.
.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Java] Installing Java on Debian Linux lgp171188 Linux - Software 3 06-20-2009 11:40 AM
Installing Java Based Application throws "java.lang.NoClassDefFoundError" ConfigMan_08 Linux - Newbie 10 12-22-2008 04:58 PM
help installing java icerado Linux - Software 6 08-16-2007 09:41 AM
installing java kriogenic Linux - Newbie 10 02-11-2006 06:09 AM
Installing Java tarballed Linux - Software 7 08-27-2004 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration