• Java Error on server console

    By Giovanni Vildacci 1 decade ago

    I tried the demo on my 704 FP1 server and I reached this error

    Unexpected error while executing java agent:JavaAgent

    –>java.lang.UnsupportedClassVersionError: Unsupported major.minor version 49.0

    java.lang.UnsupportedClassVersionError: Unsupported major.minor version 49.0

         at java.lang.ClassLoader.defineClass0(Native Method)<br/>
         at java.lang.ClassLoader.defineClass(ClassLoader.java:808)<br/>
         at java.lang.ClassLoader.defineClass(ClassLoader.java:708)<br/>
         at lotus.domino.AgentLoader.loadClass(Unknown Source)<br/>
         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)<br/>
         at lotus.domino.AgentLoader.runAgent(Unknown Source)<br/>
    



    I think to JVM 1.4.2 of Domino 704version



    also I have the error Unable to upload c:\document



    are the errors correlate??also I must change to other JVM 1.5….??

    I checked the action on checklist and I execute the actions

    thank for your help

    Giovanni

    • Resolved

      By Giovanni Vildacci 1 decade ago

      Sorry the demo and the java class run OK on domino 851 FP3

      I think that the error on domino 704 is due to the JVM that is 1.4.x

      for run on domino 704FP1, but generally, on domino 7, must recompile the servlet and the agent with java 1.4.X

      • demo not working for me

        By Angie O Hankins 1 decade ago

        I am running on domino server 7.0.3 and with java version 1.6.0_20 and I get the exact same errors that you described, but I have no idea what it means to "recompile the servlet and the agent" – can you help me?



        Thank you!