Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Install] Jsch->UnsupportedClassVersionError [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Cagnulein
l33t
l33t
User avatar
Posts: 861
Joined: Thu Sep 18, 2003 3:39 pm
Location: Modena, Italy

[Install] Jsch->UnsupportedClassVersionError [SOLVED]

  • Quote

Post by Cagnulein » Fri May 06, 2005 6:44 pm

Huge issue with jsch

when i try to compile it...:

Code: Select all

BUILD FAILED
java.lang.UnsupportedClassVersionError: com/jcraft/jsch/UserInfo (Unsupported major.minor version 49.0)
my sun's versions:

Code: Select all

*  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: Select all

[$][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.
Top
hjnenc
Veteran
Veteran
User avatar
Posts: 1599
Joined: Sun Aug 15, 2004 5:49 am
Location: Vienna, Austria

  • Quote

Post by hjnenc » Fri May 06, 2005 7:16 pm

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.
Top
Cagnulein
l33t
l33t
User avatar
Posts: 861
Joined: Thu Sep 18, 2003 3:39 pm
Location: Modena, Italy

  • Quote

Post by Cagnulein » Fri May 06, 2005 7:24 pm

them....them...but how can i find them? :P

Thanks :D
Top
hjnenc
Veteran
Veteran
User avatar
Posts: 1599
Joined: Sun Aug 15, 2004 5:49 am
Location: Vienna, Austria

  • Quote

Post by hjnenc » Sat May 07, 2005 4:39 am

I don't know a direct way to find them. The "genlop -l" output might be helpful.
Top
Cagnulein
l33t
l33t
User avatar
Posts: 861
Joined: Thu Sep 18, 2003 3:39 pm
Location: Modena, Italy

  • Quote

Post by Cagnulein » Sat May 07, 2005 11:52 am

SOLVED!

Code: Select all

# emerge -C jsch && emerge jsch
too simple :P
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy