appwarp s2 won't start

0 votes
I am just starting as per this.

http://appwarps2.shephertz.com/dev-center/

I have downloaded Char Server demo. and put in D:\appwarp

I have put "apache-ant-1.9.4" in directory D:\appwarp\ChatDemo\ChatServer

I have jdk 1.7.0 installed on my machine.

I am running windows_start.bat from chatServer and

i It still giving me this error..

 

Buildfile: D:\appwarp\ChatDemo\ChatServer\warp.xml

clean:
   [delete] Deleting directory D:\appwarp\ChatDemo\ChatServer\build

compile:
    [mkdir] Created dir: D:\appwarp\ChatDemo\ChatServer\build\classes
    [javac] Compiling 4 source files to D:\appwarp\ChatDemo\ChatServer\build\cla
sses

jar:
    [mkdir] Created dir: D:\appwarp\ChatDemo\ChatServer\build\jar
      [jar] Building jar: D:\appwarp\ChatDemo\ChatServer\build\jar\ChatDemo.jar

run:
     [java] java.lang.UnsupportedClassVersionError: chatapp/Main : Unsupported m
ajor.minor version 51.0
     [java]     at java.lang.ClassLoader.defineClass1(Native Method)
     [java]     at java.lang.ClassLoader.defineClass(ClassLoader.java:638)
     [java]     at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:143)
     [java]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:281)
     [java]     at java.net.URLClassLoader.access$000(URLClassLoader.java:74)
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:216)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
     [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
     [java]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)

     [java] Error: Could not find the main class.
     [java] Error: A JNI error has occurred, please check your installation and
try again
     [java] Exception in thread "main"
     [java] Java Result: 1

main:

BUILD SUCCESSFUL
Total time: 1 second

 

please help.. thanks in advance..
asked Jul 11, 2014 in AppWarpS2 by patel.sagar2611 (34 points)

1 Answer

0 votes
This looks like an issue with the JRE installed on the machine. Please see the following

http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0
answered Jul 11, 2014 by dhruvc (1,099 points)
I also tried on other PC. but is not working. can you please provide all necessary things which is working on your side. I am on windows 7. can you provide JAVA. and apache and chat server Demo. currently I have java 1.7.0 installed.

Thanks in advance.
I have Java 7 Update 51 installed
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...