1 |
On Sunday 14 May 2006 13:32, "wu chuanwen" <wcw8410@×××××.com> wrote |
2 |
about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': |
3 |
> java.lang.UnsupportedClassVersionError: |
4 |
|
5 |
A 1.4 vm refuses to load the output from a 1.5 javac because of the |
6 |
classfile format bump. A 1.5 vm will load both 1.4 and 1.5 classfiles. |
7 |
Try running w/ 1.5. |
8 |
|
9 |
Of course, if you are compiling, which seems to be the case, you'll need to |
10 |
recompile this classfile with 1.4, so that it can be loaded by the 1.4 |
11 |
javac. |
12 |
|
13 |
-- |
14 |
"If there's one thing we've established over the years, |
15 |
it's that the vast majority of our users don't have the slightest |
16 |
clue what's best for them in terms of package stability." |
17 |
-- Gentoo Developer Ciaran McCreesh |