* [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM
@ 2006-05-25 8:54 lugduweb
2006-05-25 9:11 ` Caster
0 siblings, 1 reply; 5+ messages in thread
From: lugduweb @ 2006-05-25 8:54 UTC (permalink / raw
To: gentoo-java
Hello !
I'm having a problem while trying to emerge Java's Eclipse's SDK with
"xerces" package.
Please see : http://bugs.gentoo.org/show_bug.cgi?id=134232 for log error
and details.
I then saw on http://www.gentoo.org/proj/en/java/tiger-faq.xml that was
maybe due to the use of the 1.5 JDK as a system VM.
So now, I've switched to my 1.4.2.04 JDK but I still have an error
('java-config -S ibm-jdk-bin-1.4.2.04') on the same package.
Not being an expert at all, I don't know what to do :-(
Finally, at the end of the FAQ page I saw this :
"4. So I went and broke my system by using a 1.5 JDK... how do I fix
it?
We recommend people that have been using a 1.5 JDK for a system VM
switch over to the migration-overlay. The instructions for using it
describe how to make sure everything gets recompiled with a 1.4 JDK. "
Well... the problem now is that I'm not sure to understand how to switch
to this "overlay" ? Do I have to rebuild my all system ?
Could somebody tell me how to check what packages are wrong and what to
do ?
Thanks & best regards.
--
gentoo-java@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM
2006-05-25 8:54 [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM lugduweb
@ 2006-05-25 9:11 ` Caster
2006-05-26 14:10 ` lugduweb
0 siblings, 1 reply; 5+ messages in thread
From: Caster @ 2006-05-25 9:11 UTC (permalink / raw
To: gentoo-java
lugduweb wrote:
> Well... the problem now is that I'm not sure to understand how to switch
> to this "overlay" ? Do I have to rebuild my all system ?
No, you have to follow
https://projects.gentooexperimental.org/expj/wiki/Using_migration-overlay
> Could somebody tell me how to check what packages are wrong and what to
> do ?
> Thanks & best regards.
>
The link above has a section "1.5 JDK set as your Generation-1 VM" which
tells you to execute /usr/bin/java-1.5-fixer which gets installed with
the overlay stuff. Previously I think the tiger-faq mentioned direct
link to this fixer script, without need of migrating first. You can try
extracting and running it from
http://dev.gentoo.org/~nichoj/distfiles/java-config-wrapper-0.8.tar.bz2
but not sure if it works :)
Caster
--
gentoo-java@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM
2006-05-25 9:11 ` Caster
@ 2006-05-26 14:10 ` lugduweb
2006-05-26 19:14 ` Caster
2006-06-09 6:52 ` Mathew Robertson
0 siblings, 2 replies; 5+ messages in thread
From: lugduweb @ 2006-05-26 14:10 UTC (permalink / raw
To: gentoo-java
Thanks for your answer,
I've downloaded the tools and some extra tools are needed (" You need to
emerge >=javatoolkit-0.1.6") for ex when I do a java-1.5fixer.
So I'm going to try to do this the "clean manner".
I will tell you if it works.
ATM, I'm building a kernel so it will wait a couple of days.
Regards.
Le jeudi 25 mai 2006 à 11:11 +0200, Caster a écrit :
> lugduweb wrote:
> > Well... the problem now is that I'm not sure to understand how to switch
> > to this "overlay" ? Do I have to rebuild my all system ?
>
> No, you have to follow
> https://projects.gentooexperimental.org/expj/wiki/Using_migration-overlay
>
> > Could somebody tell me how to check what packages are wrong and what to
> > do ?
> > Thanks & best regards.
> >
>
> The link above has a section "1.5 JDK set as your Generation-1 VM" which
> tells you to execute /usr/bin/java-1.5-fixer which gets installed with
> the overlay stuff. Previously I think the tiger-faq mentioned direct
> link to this fixer script, without need of migrating first. You can try
> extracting and running it from
> http://dev.gentoo.org/~nichoj/distfiles/java-config-wrapper-0.8.tar.bz2
> but not sure if it works :)
>
> Caster
--
gentoo-java@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM
2006-05-26 14:10 ` lugduweb
@ 2006-05-26 19:14 ` Caster
2006-06-09 6:52 ` Mathew Robertson
1 sibling, 0 replies; 5+ messages in thread
From: Caster @ 2006-05-26 19:14 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
On 5/26/06, lugduweb <lugduweb@free.fr> wrote:
>
> Thanks for your answer,
>
> ATM, I'm building a kernel so it will wait a couple of days.
>
Must be some old computer, building a kernel is matter of minutes, not days
here :)
Caster
[-- Attachment #2: Type: text/html, Size: 516 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM
2006-05-26 14:10 ` lugduweb
2006-05-26 19:14 ` Caster
@ 2006-06-09 6:52 ` Mathew Robertson
1 sibling, 0 replies; 5+ messages in thread
From: Mathew Robertson @ 2006-06-09 6:52 UTC (permalink / raw
To: gentoo-java
Hi java gurus,
I am stumped... Anyone see this before:
gcc-config error: java wrapper: Unable to determine executable.
CTARGET=i686-pc-linux-gnu
exec=java
This is printed for any java-related command, and (AFAIK) comes from
the run-java-tool.
I'm running bleading edge ("migration", "gentoo-java-exterimental"
"gcj-overlay") so I am expecting problems.
But this appears to be related to the fact that "eselect" is the
prefered method for changing package properties, rather than
gcc-config (et. al).
I could simply remove run-java-tool and replace it with a symlink to
the current system jvm, but thats a nasty hack...
thanks for any help,
Mathew
--
gentoo-java@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-09 6:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 8:54 [gentoo-java] System broken due to a use of a 1.5 JDK for a system VM lugduweb
2006-05-25 9:11 ` Caster
2006-05-26 14:10 ` lugduweb
2006-05-26 19:14 ` Caster
2006-06-09 6:52 ` Mathew Robertson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox