1 |
O Xov, 13-04-2006 ás 08:03 +0200, Jon Severinsson escribiu: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA1 |
4 |
> |
5 |
> |
6 |
> >>> ... explains a bit - you probably shouldn't have a SYSTEM JVM |
7 |
> >>> set to Java 1.5 as of today. You can do so freely on your regular |
8 |
> >>> user account. |
9 |
> >>> |
10 |
> >> The the migration document shoud warm about this. Anyway, I did |
11 |
> >> |
12 |
> >> java-config-2 -S sun-jdk-1.4 |
13 |
> I'm running java-1.5 as a *generation 2* system vm without any problems. |
14 |
> The only problem is if you at one point where using 1.5 as a *generation |
15 |
> 1* system vm (e.g. before you started using the migration overlay). |
16 |
> You can safely do "java-config-2 -S sun-jdk-1.5", as long as |
17 |
> "java-config-1 -f" doesn't list a 1.5 jdk and |
18 |
> /etc/java-config-2/build/jdk.conf doesn't list a 1.5 jdk for 1.4. (e.g. |
19 |
> doesn't give a version if you use the *=sun-jdk syntax) |
20 |
Then, the migration document should state how to set the generation-2 |
21 |
system vm. It only tells about java-config-2 -s ... |
22 |
|
23 |
Anyway I have two problems right now: |
24 |
1. If I do java-config-2 -S sun-jdk-1.4, ant-core continues to build |
25 |
with sun-java-1.5 |
26 |
2. Junit does not compile even having compiled ant-core with 1.4 vm (I |
27 |
had to modify jdk.conf) |
28 |
|
29 |
> > The document doesn't explicitly state it, but java-check-environment |
30 |
> > should be upset with you using a 1.5 system vm. In the event that it |
31 |
> > doesn't mind... then it's a bug. |
32 |
> Again, only when you use it as *generation 1* system. Generation 2 is |
33 |
> 1.5 safe. |
34 |
> -----BEGIN PGP SIGNATURE----- |
35 |
> Version: GnuPG v1.4.2.2 (GNU/Linux) |
36 |
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
37 |
> |
38 |
> iD8DBQFEPenLOOpxqcksWu4RAs7DAKCIoXsXoAtTyx4fU4AGDAqVb2Yj9gCfUIqd |
39 |
> usjiHUqI0wic0UVxYTKTfnc= |
40 |
> =svDs |
41 |
> -----END PGP SIGNATURE----- |
42 |
|
43 |
-- |
44 |
gentoo-java@g.o mailing list |