Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-17 Thread wu chuanwen
Done! I have fix my *big* problem now and have installed tomcat! I just want to thank everybody! You know your advices are so important to me! Without your help,I can hardly fix this problem.You have let me learn a lot! Thanks! You are all nice men! -- wcw -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-17 Thread wu chuanwen
2006/5/17, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: On Tuesday 16 May 2006 10:05, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': Find what package owns the class/jar that's giving a UnsupportedClassVer

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-17 Thread Boyd Stephen Smith Jr.
On Tuesday 16 May 2006 10:05, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > Now my problem is : > I have both jdk1.5 and 1.4 now. > $ java-config -L > [sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10"

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread wu chuanwen
2006/5/16, Uwe Klosa <[EMAIL PROTECTED]>: You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migra

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread wu chuanwen
2006/5/16, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: On Tuesday 16 May 2006 02:28, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > 2006/5/15, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: >

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread Boyd Stephen Smith Jr.
On Tuesday 16 May 2006 02:28, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > 2006/5/15, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: > > On Sunday 14 May 2006 13:32, "wu chuanwen" <[E

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread wu chuanwen
2006/5/16, Uwe Klosa <[EMAIL PROTECTED]>: You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migra

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread Uwe Klosa
You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migration-overlay. Now I'm able to use java 1.5 w

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread wu chuanwen
2006/5/16, Uwe Klosa <[EMAIL PROTECTED]>: Hi You can find information about java on Gentoo here http://www.gentoo.org/doc/en/java.xml. There are a lot of problems that can occur if you use java 1.5 as system vm. Have a look here: http://www.gentoo.org/proj/en/java/tiger-faq.xml I have tried

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread Uwe Klosa
Hi You can find information about java on Gentoo here http://www.gentoo.org/doc/en/java.xml. There are a lot of problems that can occur if you use java 1.5 as system vm. Have a look here: http://www.gentoo.org/proj/en/java/tiger-faq.xml I recommend to use the java migration-overlay https://pr

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-16 Thread wu chuanwen
2006/5/15, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: On Sunday 14 May 2006 13:32, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > java.lang.UnsupportedClassVersionError: A 1.4 vm refuses to load the out

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-15 Thread Alexander Skwar
wu chuanwen wrote: > 2006/5/15, Alexander Skwar <[EMAIL PROTECTED]>: >> wu chuanwen wrote: >> Either fix all the packages yourself as you insisted on >> using JDK 5.0, despite it being hardmasked. Or you remove >> all the Java packages which got installed after you installed >> JDK 5.0 and install

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-15 Thread wu chuanwen
2006/5/15, Alexander Skwar <[EMAIL PROTECTED]>: wu chuanwen wrote: > I have unmerge the sun-jdk1.5 and emerge sun-jdk1.4 and it success. > But now there is new problem when i emerge the one which tomcat dependen on: Yep. That's because you used JDK 5.0. In bugzilla you can find a lot of reports

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-14 Thread Boyd Stephen Smith Jr.
On Sunday 14 May 2006 13:32, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > java.lang.UnsupportedClassVersionError: A 1.4 vm refuses to load the output from a 1.5 javac because of the classfile format bump. A

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-14 Thread Alexander Skwar
wu chuanwen wrote: I have unmerge the sun-jdk1.5 and emerge sun-jdk1.4 and it success. But now there is new problem when i emerge the one which tomcat dependen on: Yep. That's because you used JDK 5.0. In bugzilla you can find a lot of reports - BTW: You searched bugs.gentoo.org first? http://

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-14 Thread wu chuanwen
I have unmerge the sun-jdk1.5 and emerge sun-jdk1.4 and it success. But now there is new problem when i emerge the one which tomcat dependen on: --- #emerge tomcat Calculating dependencies... done! Emerging (1

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Alexander Skwar
wu chuanwen wrote: 2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: On Saturday 13 May 2006 03:19, "wu chuanwen" <[EMAIL PROTECTED]> wrote > You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Can i just change the 1.5 javac to the 1.4 one? No.

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Boyd Stephen Smith Jr.
On Saturday 13 May 2006 21:56, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > 2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: > > On Saturday 13 May 2006 03:19, "wu chuanwen" <

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread wu chuanwen
2006/5/13, Alexander Skwar <[EMAIL PROTECTED]>: wu chuanwen wrote: > "enum" in jdk1.5 is a keyword,but it is used as a variable in > the dev-java/commons-daemon-1.0.1. > > So now is there anyway to emerge tomcat? Yep. Probably you need to de-install JDK 5.0 (1.5.0) and install the "Gentoo

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread wu chuanwen
2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: On Saturday 13 May 2006 03:19, "wu chuanwen" <[EMAIL PROTECTED]> wrote > You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Can i just change the 1.5 javac to the 1.4 one?I have never try to do thi

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Alexander Skwar
wu chuanwen wrote: 2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: Change your system javac to a 1.4 for the emerge of commons-daemon. The resulting class/jar files will run in a 1.5 vm -- since enum and assert (introduced in 1.4) are both still valid identifiers in bytecode under a 1.5

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Alexander Skwar
wu chuanwen wrote: "enum" in jdk1.5 is a keyword,but it is used as a variable in the dev-java/commons-daemon-1.0.1. So now is there anyway to emerge tomcat? Yep. Probably you need to de-install JDK 5.0 (1.5.0) and install the "Gentoo approved" JDK 1.4.x. You know, there IS a reason why

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Boyd Stephen Smith Jr.
On Saturday 13 May 2006 03:19, "wu chuanwen" <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': > 2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: > > Change your system javac to a 1.4 for the emerge of commons-d

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread wu chuanwen
2006/5/13, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>: Change your system javac to a 1.4 for the emerge of commons-daemon. The resulting class/jar files will run in a 1.5 vm -- since enum and assert (introduced in 1.4) are both still valid identifiers in bytecode under a 1.5 vm. How can i chan

Re: [gentoo-user] cause jdk1.5 emerge tomcat error!

2006-05-13 Thread Boyd Stephen Smith Jr.
On Saturday 13 May 2006 00:10, "wu chuanwen" <[EMAIL PROTECTED]> wrote about '[gentoo-user] cause jdk1.5 emerge tomcat error!': > I have emerge sun-jdk1.5.**(i download it and ebuild it by > myself).Now, i want to emerge tomcat,and it is dependent of > dev-java/commons-daemon-1.0.1 .But when i eme