* [gentoo-dev] sun-jdk
@ 2002-05-15 3:59 Per Wigren
2002-05-15 4:11 ` Ben Lutgens
2002-05-15 4:22 ` William McArthur
0 siblings, 2 replies; 5+ messages in thread
From: Per Wigren @ 2002-05-15 3:59 UTC (permalink / raw
To: gentoo-dev
I just emerged sun-jdk, but java-config says:
# 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
How do I make java-config find it?
// Wigren
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] sun-jdk
2002-05-15 3:59 [gentoo-dev] sun-jdk Per Wigren
@ 2002-05-15 4:11 ` Ben Lutgens
2002-05-15 4:22 ` William McArthur
1 sibling, 0 replies; 5+ messages in thread
From: Ben Lutgens @ 2002-05-15 4:11 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
On Wed, May 15, 2002 at 05:59:07AM +0200, Per Wigren wrote:
>I just emerged sun-jdk, but java-config says:
>
># 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
>
>How do I make java-config find it?
Did you add the location of the jvm binaries to your path? For example
export JAVA_HOME="/opt/blackdown-jre-1.3.1" # this is not right for you
# But it works for me.
and then add $JAVA_HOME/bin/ to your $PATH.
That should do it.
--
Ben Lutgens | http://people.sistina.com/~blutgens/
System Administrator | http://www.sistina.com/
Sistina Software Inc. |
"I got a wife and kids too but you don't see me out here stealing Imperial
Droids now do ya?"
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] sun-jdk
2002-05-15 3:59 [gentoo-dev] sun-jdk Per Wigren
2002-05-15 4:11 ` Ben Lutgens
@ 2002-05-15 4:22 ` William McArthur
2002-05-15 4:27 ` William McArthur
1 sibling, 1 reply; 5+ messages in thread
From: William McArthur @ 2002-05-15 4:22 UTC (permalink / raw
To: gentoo-dev
Per Wigren wrote:
> How do I make java-config find it?
Run `java-config --list-available-vms`
Then as root run:
`java-config --set-system-vm=sun-jdk-1.4.0` or what ever is approiate
for your system.
If you need more info hit the man page with `man java-config`
You won't need to modify you path at all or any other env stuff as
mentioned by another post.
You will need to log out and then in for the env updates to take effect.
Until you have the time to do that running `source /etc/profile` in ecah
shell you need to refresh the env will work.
Sandy McArthur
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] sun-jdk
2002-05-15 4:22 ` William McArthur
@ 2002-05-15 4:27 ` William McArthur
0 siblings, 0 replies; 5+ messages in thread
From: William McArthur @ 2002-05-15 4:27 UTC (permalink / raw
To: gentoo-dev
Oh yea there is a Gentoo Java Guide at:
http://www.gentoo.org/doc/java.html
and more docs at:
http://www.gentoo.org/index-docs.html
Sandy McArthur
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-dev] sun-jdk
@ 2002-05-15 15:41 Sean P. Kane
0 siblings, 0 replies; 5+ messages in thread
From: Sean P. Kane @ 2002-05-15 15:41 UTC (permalink / raw
To: gentoo-dev
This was reported as Bug 2577:
http://bugs.gentoo.org/show_bug.cgi?id=2577
typing:
export JAVA_HOME="/opt/blackdown-jre-1.3.1"
First should work around this.
Sean
-----Original Message-----
From: Per Wigren [mailto:wigren@home.se]
Sent: Tuesday, May 14, 2002 20:59
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] sun-jdk
I just emerged sun-jdk, but java-config says:
# 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
How do I make java-config find it?
// Wigren
_______________________________________________
gentoo-dev mailing list
gentoo-dev@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-05-15 15:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15 3:59 [gentoo-dev] sun-jdk Per Wigren
2002-05-15 4:11 ` Ben Lutgens
2002-05-15 4:22 ` William McArthur
2002-05-15 4:27 ` William McArthur
-- strict thread matches above, loose matches on Subject: below --
2002-05-15 15:41 Sean P. Kane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox