LinuxQuestions.org
Visit Jeremy's Blog.
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 01-22-2005, 09:52 AM   #1
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Rep: Reputation: 15
LimeWire not working im sure javas installed whats wrong?


Well.

While I was installing limewire it said I have no JAVA VM. So I went and downloaded this j2re-1_4_2_06-linux-i586.bin not the rpm bin just the bin
./j2re-1_4_2_06-linux-i586.bin
then yes

I was stil in my home dirctory thats where everything was and I also set my .bash_profile to this
# .bash_profile

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

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/home/administrator/j2re1.4.2_06/bin

export PATH
unset USERNAME

Im sure everything is working how come it says I ahve no JAVA VM and can you help me fix it or tell me how to do everythign step by step.
 
Old 01-22-2005, 05:53 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
for one, does the command 'java' work? (It will probably give a typical usage-message).
 
Old 01-23-2005, 07:51 AM   #3
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
It says bash: java: command not found. I have java installed in my home directory because I can open the foleder and see whats in so it must be installed. Also whne I go to System - Configuration - KDE - Web browsing - java java script. DO I need to set up that?
 
Old 01-23-2005, 09:18 AM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
add $HOME to $PATH

what you need is to have java somewhere in you path. There are two (obvious) ways to do this (assuming that 'java', the executable, is in your home folder):

add the folder where java is to your path:
echo 'PATH=$PATH:~/; export PATH' >> ~/.bashrc

make a link to java, somewhere in your path:
ln -s ~/java ~/bin/java

as for KDE: I don't know, but I'm pretty sure the answer is no. I think my parallel would be setting up firefox (enable Java, enable JavaScript) which doesn't affect the system-wide VM.

aside: I guess that you don't program in java (otherwise, you'd know).

hope this helps,

Jonas
 
Old 01-23-2005, 07:32 PM   #5
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
The problem is that Mandrake install another java program that prevents like limewaire from running. It a program called kaffe. Remove the program and lime should install and run fine. I also found that if this program is removed some website work much better. I don't know why Mandrake installs a program that conflicts with other Java programs.
 
Old 01-23-2005, 08:36 PM   #6
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
I don't have kaffe just kaffiene any other ideas?
 
Old 01-23-2005, 08:59 PM   #7
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Ok then which downloaded version of Mandrake do you have? Power Pack or download version?
it depend because it will give me a clue on what you have installed. ( I do have limewire installed and running)
We can get this running.
 
Old 01-23-2005, 09:44 PM   #8
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
I have 10.1 community downloaded.
 
Old 01-23-2005, 09:51 PM   #9
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Why you using the community version?
It had a lot of bugs. Download the official version it is the community with about 300-400 updates. Even the the Official versions has at lest 300 bug fixes already. I only use the community version on a test machine until the final release.
 
Old 01-23-2005, 10:00 PM   #10
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
Well

My cd burenr really sucks when I tried to downlaod the 64 bit distro and install it it wouldn't work the burn was to bad of a quality.
So im stuck with this until I get my new combo drive. about 1 month.
 
Old 01-23-2005, 10:13 PM   #11
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Are you using the 64bit version of Mandrake? You didn't say so in your original post. This opens a new line of problems I'm not able to help at this time. I don't use the 64 bit version. However if your are using the 32bit version I can help.
 
Old 01-23-2005, 10:43 PM   #12
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
No I don't use 64 I tried to downlaod 64 but my cd burner sucks and it didn't work so I can't get official. I believe thats what I mean
 
Old 01-24-2005, 07:30 AM   #13
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
You really dont need a cd burner to install Mandrake Linux

Download the 32 bit 10.1 official. When you have the ISOS use this script to create a single dvd iso. Once thats done you can mount it.
Copy the contents to a directory in you home directory and do a hd install

********************* Start here ********************
#/bin/bash

# by Chris Kloiber <ckloiber@redhat.com>
# Slight adaptation for Mandrake by Sergei Zuyev <sergei@stams.strath.ac.uk>

# A quick hack that will create a bootable DVD iso of a Mandrake Linux
# Distribution. Feed it either a directory containing the downloaded
# iso files of a distribution, or point it at a directory containing
# the "Mandrake", "isolinux", and "images" directories.
#It creates /destination/dvd.iso and also the complete dvd structure in ./mkmdkdvd directory. If your dvd.iso creation is successful
#(check with
#mount dvd.iso -r -t iso9660 -o loop /mnt/loop
#ls /mnt/loop )
#then you can safely remove
#/bin/rm -r ./mkmdkdvd

# Usage:
# mkdvdiso.sh /path/to/the/cd/isos /destination/dvd.iso
# Burning :
# /usr/bin/growisofs -Z /dev/<yourDVDwriter>=/destination/dvd.iso

# Lots of disk space required to work, 3X the distribution size at least.

# GPL version 2 applies. No warranties, yadda, yadda. Have fun.


if [ $# -lt 2 ]; then
echo "Usage: `basename $0` source /destination/DVD.iso"
echo ""
echo " The 'source' can be either a directory containing a single"
echo " set of isos, or an exploded tree like an ftp site."
exit 1
fi

cleanup() {
[ ${LOOP:=/tmp/loop} = "/" ] && echo "LOOP mount point = \/, dying!" && exit
[ -d $LOOP ] && rm -rf $LOOP
[ ${DVD:=`pwd`/mkmdkdvd} = "/" ] && echo "DVD data location is \/, dying!" && exit
[ -d $DVD ] && rm -rf $DVD
}

cleanup
mkdir -p $LOOP
mkdir -p $DVD

if [ !`ls $1/*.iso 2>&1>/dev/null ; echo $?` ]; then
echo "Found ISO CD images..."
CDS=`expr 0`
DISKS="1"

for f in `ls $1/*.iso`; do
mount -o loop $f $LOOP
cp -av $LOOP/* $DVD
if [ -f $LOOP/.discinfo ]; then
cp -av $LOOP/.discinfo $DVD
CDS=`expr $CDS + 1`
if [ $CDS != 1 ] ; then
DISKS=`echo ${DISKS},${CDS}`
fi
fi
umount $LOOP
done
if [ -e $DVD/.discinfo ]; then
awk '{ if ( NR == 4 ) { print disks } else { print ; } }' disks="$DISKS" $DVD/.discinfo > $DVD/.discinfo.new
mv $DVD/.discinfo.new $DVD/.discinfo
fi
else
echo "Found FTP-like tree..."
cp -av $1/* $DVD
[ -e $1/.discinfo ] && cp -av $1/.discinfo $DVD
fi

rm -rf $DVD/isolinux/boot.cat
find $DVD -name TRANS.TBL | xargs rm -f

cd $DVD
mkisofs -J -R -v -T -o $2 -b isolinux/isolinux.bin -c Boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .

# cleanup # uncomment to remove ./mkmdkdvd directory
echo ""
echo "Process Complete!"
echo ""

************ cut ***********

here the read me file

is a bash script to make dvd.iso from multiple cd.iso files. Use it like this:

mkdvdiso.sh /path/to/the/cd/isos /destination/dvd.iso

It creates /destination/dvd.iso and also the complete dvd structure in ./mkmdkdvd directory. If your dvd.iso creation is successful
(check with
mount dvd.iso -r -t iso9660 -o loop /mnt/loop
ls /mnt/loop )
then you can safely remove
/bin/rm -r ./mkmdkdvd
If not, you at least have a complete system in this directory to use as a source or to see manually why the iso-image creation hasn't worked for you.

Enjoy, but do not blame me if smth goes wrong
(Checked on ML10.0-community, official, 10.0.2)
 
  


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
Whats wrong with this .procmailrc jayakrishnan Linux - Networking 0 11-25-2005 12:31 AM
FC3 installed Limewire crashes with wrong Java version arst05 Fedora 10 03-21-2005 12:32 PM
Whats wrong with this file? hermittlog Linux - Newbie 4 10-17-2004 08:07 PM
Whats wrong with this X86Config treble54 Linux - Newbie 3 04-30-2004 06:45 PM
Whats wrong with this? OlRoy Programming 2 05-28-2003 01:21 PM

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

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