View previous topic :: View next topic |
Author |
Message |
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Fri May 06, 2005 6:44 pm Post subject: [Install] Jsch->UnsupportedClassVersionError [SOLVED] |
|
|
Huge issue with jsch
when i try to compile it...:
Code: | BUILD FAILED
java.lang.UnsupportedClassVersionError: com/jcraft/jsch/UserInfo (Unsupported major.minor version 49.0)
|
my sun's versions:
Code: | * dev-java/sun-jdk
Latest version available: 1.4.2.08
Latest version installed: 1.4.2.08
Size of downloaded files: 35,576 kB
Homepage: http://java.sun.com/j2se/1.4.2/
Description: Sun's J2SE Development Kit
License: sun-bcla-java-vm
* dev-java/sun-jre-bin
Latest version available: 1.4.2.08
Latest version installed: 1.4.2.08
Size of downloaded files: 14,052 kB
Homepage: http://java.sun.com/j2se/1.4.2/
Description: Sun's J2SE Platform
License: sun-bcla-java-vm-1.4.2
|
current java version:
Code: | [$][localhost][~] java-config -f
sun-jdk-1.4.2.08 |
any tip?
Last edited by Cagnulein on Sat May 07, 2005 11:59 am; edited 1 time in total |
|
Back to top |
|
|
hjnenc Veteran
Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Fri May 06, 2005 7:16 pm Post subject: |
|
|
It seems that you have some packages around that were compiled with Java 5. Recompile them with Java 1.4.
The class file format is incompatible. That's one of the reasons why Java 5 is masked. |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Fri May 06, 2005 7:24 pm Post subject: |
|
|
them....them...but how can i find them?
Thanks |
|
Back to top |
|
|
hjnenc Veteran
Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Sat May 07, 2005 4:39 am Post subject: |
|
|
I don't know a direct way to find them. The "genlop -l" output might be helpful. |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Sat May 07, 2005 11:52 am Post subject: |
|
|
SOLVED!
Code: | # emerge -C jsch && emerge jsch |
too simple |
|
Back to top |
|
|
|