LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-26-2004, 07:51 PM   #1
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Rep: Reputation: 30
Java VM


ok I have downloaded the Java VM and installed it with the RPM but everytime I try to install Limewire it tells me I need to have a Java VM installed or running before I can install it and nothing I have tried works. I have found the Java dir and tried starting it but still nothing.

Can someone please give me some help or direction.

Thanks
 
Old 06-26-2004, 08:39 PM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Does the command which java show anything?

--mascdman
 
Old 06-27-2004, 12:09 AM   #3
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
the only thing is that it is blue and that is it nothing more.
 
Old 06-27-2004, 11:30 AM   #4
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Hmm...if you haven't already done so, try placing the path to java by either:

1) Adding or editing you `/.bash_profile
Code:
PATH = $PATH:/usr/java/j2re[version]/bin
export PATH
2) Make a symlink to java by
Code:
cd /usr/bin
ln -s /usr/java/j2re[version]/bin/java
 
Old 06-27-2004, 12:32 PM   #5
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
I dont know anything about a bash_profile is that something I need to make or should I have it already? If so where should it be an dif not where should I put it once I make it?

Thanks
 
Old 06-27-2004, 01:25 PM   #6
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Quote:
Originally posted by noobtesting
I dont know anything about a bash_profile is that something I need to make or should I have it already? If so where should it be an dif not where should I put it once I make it?

Thanks
You should already have a .bash_profile (the 'dot/period' denotes that it's a hidden file) in your user directory, but you need to have hidden files shown in order to see them. In cli, cd to your user directory and type 'ls -a'. That will show all files + hidden ones.

You can click/double-click on the file, and it will open up in a file editor. Then just add the lines I posted.

For example, here's a default ~/.bash_profile:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME


And one that's been editied with the path set to java:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

PATH = $PATH:/usr/java/j2re[version]/bin
export PATH

And save.

Last edited by estatik; 06-27-2004 at 01:27 PM.
 
Old 06-27-2004, 09:21 PM   #7
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
OK I did all that and it is still telling me that I need to have Java VM running in order to install the program.
 
Old 06-27-2004, 10:07 PM   #8
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
http://www.kernow.pwp.blueyonder.co.uk/utils/ujava.html

I was able to get it working thanks to this link. Thanks for all your efforts.
 
Old 06-28-2004, 01:51 AM   #9
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Ah, good to hear.

--mascdman
 
Old 09-05-2004, 10:01 PM   #10
hfinger
LQ Newbie
 
Registered: Jul 2003
Location: Melbourne, Australia
Distribution: Mandrake 9.2
Posts: 14

Rep: Reputation: 0
Dangerous to overwrite /usr/bin/java

> 2) Make a symlink to java by
>
> cd /usr/bin
> ln -s /usr/java/j2re[version]/bin/java

In /usr/bin there is symbolic link at /usr/bin/java that points to a small script that calls kaffe. This allows apps that require Java to invoke kaffe painlessly. Instead of overwriting this symlink/script, you should rename it, THEN add your symlink. This way, if Java screws up, you can always restore kaffe.
 
  


Reply



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 plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:06 PM.

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