Click to See Complete Forum and Search --> : Java PATH install
animex2
12-01-2002, 09:53 PM
Hi, im trying to install Limewire and i get this error -
[root@localhost limewire]# bash LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
[root@localhost limewire]#
so i went to install Sun Java and i did so, when i went to install to PATH i get this error (the folder is in /usr/java/j2sdk1.4.0_03/bin/)
root@localhost java1]# export $PATH="/usr/java/j2sdk1.4.0_03/bin/"
bash: export: `/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin=/usr/java/j2sdk1.4.0_03/bin/': not a valid identifier
Does anyone know what to do?
je_fro
12-02-2002, 12:21 AM
The way I set my Path is:
export PATH=$PATH:/usr/lib/j2sdk1.4.1_01/bin/
for example.
I think you need to change that and get that = out of there.
I have had 100% success with:
# export PATH=$PATH:/usr/java/j2sdk1.4.1_01/bin.
animex2
12-02-2002, 05:19 PM
Sorry guys, that didnt work, im running Mandrake 9.0. I got the new version of java so it is 1.4.1_01.
This is what happened-
[louisg@localhost louisg]$ export PATH=$PATH:/usr/java/j2sdk1.4.1_01/bin
(nothing)
[louisg@localhost louisg]$ PATH=$PATH:/usr/lib/j2sdk1.4.1_01/bin/
(nothing)
[louisg@localhost louisg]$ $PATH:/usr/lib/j2sdk1.4.1_01/bin/
bash: /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/louisg/bin:/usr/java/j2sdk1.4.1_01/bin:/usr/lib/j2sdk1.4.1_01/bin/:/usr/lib/j2sdk1.4.1_01/bin/: No such file or directory
[louisg@localhost louisg]$
(same error i was getting before)
mdwatts
12-02-2002, 05:57 PM
Try
ln -s /usr/java/j2sdk1.4.1_01/bin /usr/java/bin
Now edit ~/.bash_profile and add the following:
export PATH="$PATH:/usr/java/bin"
Now type source ~/.bash_profile
animex2
12-02-2002, 06:00 PM
nogo
[louisg@localhost louisg]$ in -s /usr/java/j2sdl1.4.1_01/bin /usr/java/bin
bash: syntax error near unexpected token `in'
animex2
12-02-2002, 06:06 PM
please excuse my stupidity from before, i typed is instead of ls, well im not shure if this worked or not this is what i got-
[louisg@localhost louisg]$ ln -s /usr/java/j2sdk1.4.1_01/bin /usr/java/bin
ln: creating symbolic link `/usr/java/bin' to `/usr/java/j2sdk1.4.1_01/bin': Permission denied
[louisg@localhost louisg]$ su
Password:
[root@localhost louisg]# ln -s /usr/java/j2sdk1.4.1_01/bin /usr/java/bin
[root@localhost louisg]# export PATH="$PATH:/usr/java/bin"
[root@localhost louisg]# source ~/.bash_profile
bash: TMOUT: readonly variable
[root@localhost louisg]# ~/.bash_profile
bash: /root/.bash_profile: Permission denied
je_fro
12-02-2002, 06:21 PM
You could always edit your profile file. I don't know if it's the greatest idea or not. The export PATH thing should be working. ANyway, add an extra (pathmunge /usr/lib/j2sdk1.4.1_01/bin (or wherever)) to your profile file. I think it's called .profile and may be in /home/you or /etc
animex2
12-02-2002, 06:29 PM
lol i have no idea what your talking about, sorry can you please tell me what to type? Also get on AIM if you can beacuse it might help, my name is
B14ck h0le sun
B(one)(four)ck h(zero)le sun
je_fro
12-02-2002, 06:36 PM
Give me about 1.5 hours from now and I'll look you up.
je_fro
12-02-2002, 06:39 PM
What do you get when you: echo $PATH ?
Hey, maybe you want to get Gtk-gnutella instead of limewire?
I hear there's no spyware in gnutella, unlike limewire.
animex2
12-02-2002, 06:39 PM
alright, ill be at home still and for me it will be about 7 and i mighr be eating dinner, but i should be here, thanks
animex2
12-02-2002, 06:41 PM
[root@localhost louisg]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[root@localhost louisg]#
ill try guntnilla or whatever its called, my friend told me to use lime wire beacuse its the eaisest, i will find where to download on my own but if you can provide a link that would be great
je_fro
12-02-2002, 06:50 PM
It's at sourceforge and it's called Gtk-gnutella. Get the RPM.
animex2
12-02-2002, 07:46 PM
alright i got it, but i still wanna get java into my Path, just im me when you get home / get on aim