View previous topic :: View next topic |
Author |
Message |
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Sat Jun 01, 2002 4:34 pm Post subject: I need a java vm |
|
|
I need a java vm (for limewire). I've tried to use the ones from sun and ibm. they emerge w/out errors, but they arem't detected. what do i need to do. I do have a script called java-config which outputs
Code: | bash-2.05a# java-config
!!! No Java installation found
!!! Use --set-system-vm to select default system JVM
!!! Alternatively, use --set-user-vm to select default system JVM
bash-2.05a#
|
What do i need to do to enable it? I assume i nneed to symlink something into my PATH, but what? |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Sat Jun 01, 2002 4:57 pm Post subject: |
|
|
emerging the sun or ibm jdks won't install the programs. You need to manually do it. This is the last output from 'emerge ibm-jdk':
Code: |
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line 2, Exitcode 0
!!! Please download IBMJava2-JRE-131.tgz from http://www6.software.ibm.com/dl/dklx130/dklx130-p
!!! emerge aborting on usr/portage/dev-java/ibm-jre/ibm-jre-1.3.1-r1.ebuild.
|
So more than likely you do not actually have any java VM installed. |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Sat Jun 01, 2002 5:14 pm Post subject: |
|
|
I installed IBM JRE and still get this error. What do i need to make it detect |
|
Back to top |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
|
Back to top |
|
|
j7899 n00b
Joined: 16 May 2002 Posts: 30
|
Posted: Sat Jun 01, 2002 7:22 pm Post subject: |
|
|
Even though it isn't listed you should still be able to set system and user default. I did with Blackdown-jre-1.3.1. IBM jre had problems with openoffice.org 1.0 installer and Blackdown had no problems. |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Sun Jun 02, 2002 2:01 am Post subject: |
|
|
it's installed into /opt, but it doesn't detect. do i need to add something to my path? Also how do i do that? |
|
Back to top |
|
|
Maldrim n00b
Joined: 30 May 2002 Posts: 30
|
Posted: Sun Jun 02, 2002 2:42 am Post subject: |
|
|
Read the instruction on the gentoo website about setting up java.
Very helpfull since i got LimeWire working with this guide. =)
There's a reason why people often say RTFM =P
No offense =) I just like these 4 letters. |
|
Back to top |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Sun Jun 02, 2002 2:44 am Post subject: |
|
|
if you need to add java to your path, just edit your ~/.bashrc file to have the line
export PATH=$PATH:/path/to/java/bin _________________ (rob) |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Sun Jun 02, 2002 2:50 pm Post subject: |
|
|
rogue wrote: | if you need to add java to your path, just edit your ~/.bashrc file to have the line
export PATH=$PATH:/path/to/java/bin |
ok, so i just need to add the bin dir. thats all i needed to know thx. |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Sun Jun 02, 2002 7:40 pm Post subject: |
|
|
hmmm...didn'y work. I followed the guide on my other com and everything is fine, but still can't get it working here. |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Mon Jun 03, 2002 1:44 am Post subject: |
|
|
You actually have to type this in the terminal before you run the install command on limewirelinux.bin.
Code: | PATH=$PATH:/path/to/java/bin
sh ./LimeWireLinux |
Doing this is what enabled me to get the limewirelinux installer to see java is there. Worked fine. The install is somewhat slow so be patient with it it will install fine. |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Tue Jun 04, 2002 8:02 pm Post subject: |
|
|
FINITE wrote: | You actually have to type this in the terminal before you run the install command on limewirelinux.bin.
Code: | PATH=$PATH:/path/to/java/bin
sh ./LimeWireLinux |
Doing this is what enabled me to get the limewirelinux installer to see java is there. Worked fine. The install is somewhat slow so be patient with it it will install fine. |
Same prob. Well, it works on one com. Good enough. |
|
Back to top |
|
|
|