need help java lang

Results 1 to 7 of 7
  1. #1
    Proficient Member TheBow is offline
    MemberRank
    Aug 2011 Join Date
    ragezoneLocation
    159Posts

    happy need help java lang

    is there anything that can help me about java lang, like this ?
    but my server all ON ..

    === AUTH ===
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.goldhuman.xml.parser.startElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.goldhuman.xml.parser.parse(Unknown Source)
    at com.goldhuman.xml.parser.parse(Unknown Source)
    at authd.main(Unknown Source)
    === DONE! ===


    how to solve a problem like this


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: need help java lang

    I love it when people post things like this when it obviously tells you what is wrong... (usually in first line)

    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Update Java... the class file was built against a newer version of Java then you have.

  3. #3
    Proficient Member TheBow is offline
    MemberRank
    Aug 2011 Join Date
    ragezoneLocation
    159Posts

    Re: need help java lang

    Quote Originally Posted by das7002 View Post
    I love it when people post things like this when it obviously tells you what is wrong... (usually in first line)

    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Update Java... the class file was built against a newer version of Java then you have.
    xml pwAdmin mode if I still work if I update java ??
    i am use jdk1.5.0_21 .

  4. #4
    Viva la Vida NaMeLeS is offline
    MemberRank
    Jul 2011 Join Date
    613Posts

    Re: need help java lang

    If you get the latest pwAdmin it should...

  5. #5
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: need help java lang

    ...there's nothing wrong with having two versions of java on your server. one for authd, one for pwAdmin. I use 1.5.0_21 for pwAdmin and 1.6.0_12 for authd...

  6. #6
    Valued Member Taiko is offline
    MemberRank
    Oct 2008 Join Date
    PenangLocation
    123Posts

    Re: need help java lang

    just make sure u make it point to the correct path for every different java.

  7. #7
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: need help java lang

    exactly



Advertisement