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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2004, 11:42 AM
|
#1
|
Member
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79
Rep:
|
problems with installing java 5
hi,
i just installed java 5 on mandrake 10 via rpm, but if i now type in my bash
# java -version
i get a
# command not found error
if i try to install java again i get the message that the package is already installed
so why is it not in my path? i thought when i installed something via rpm it would be added automatically to my path?
ok, so i added the path explicitly, here is my .bashrc:
# .bashrc
# User specific aliases and functions
export Path=/home/whatever/data/browser/firefox/firefox-installer/firefox
export JAVA_HOME=/usr/java/jdk1.5.0
export Path=/usr/java/jdk1.5.0/bin:$Path
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
but still java is not found (firefox neither),
any ideas?
thanks in advance
|
|
|
12-05-2004, 12:34 PM
|
#2
|
Member
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409
Rep:
|
java is installed, the plugins are not in place thats all. You need to browse to the java directory, inside it should be a plugin directory(not sure of the exact path so you will have to locate it), copy the plugin, and paste it into mozilla's, and firefox's plugin directories.
|
|
|
12-05-2004, 01:32 PM
|
#3
|
Member
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79
Original Poster
Rep:
|
thx,
but the problem is not that i want java for my browser, i want it because i use eclipse for programming.
but eclipse wont start because it cant the JVM, although i added it to the path.
i am familiar with linux at a medium level, in my last distribution (fedora) i just edited the .bashrc like posted
above and the java-command was available to the system, this time not and i dont know why.
i dont see the mistake i did, it usually worked that way, install something, add the bin to the path and thats it
why not now?
any help would be appreciated
|
|
|
All times are GMT -5. The time now is 07:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|