LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-05-2004, 11:42 AM   #1
supersucker
Member
 
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79

Rep: Reputation: 15
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
 
Old 12-05-2004, 12:34 PM   #2
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
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.
 
Old 12-05-2004, 01:32 PM   #3
supersucker
Member
 
Registered: Jul 2004
Location: Berlin
Distribution: fedora 3
Posts: 79

Original Poster
Rep: Reputation: 15
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
 
  


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
Problems installing java 1.3.1_16 UmneyDurak Fedora 3 09-28-2005 08:43 AM
Problems installing Java ursinus Linux - Newbie 21 08-25-2005 11:21 AM
installing java[Problems with azuerus] retry Linux - Newbie 3 04-26-2005 09:13 AM
problems installing java bond82 Linux - Software 8 08-30-2004 11:25 PM
Problems installing Java Virtual Machine Lord-Rashid Linux - Software 14 04-14-2003 08:49 AM

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

All times are GMT -5. The time now is 07:38 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