Servoy server does not start

when i try to start the servoy_server (servoy_server.bat) i get an error :

C:\Program Files\Servoy080405>servoy_server
0 [main] INFO com.servoy.j2db.util.Debug  - Loading servoy.properties from C:\Pr
ogram Files\Servoy080405\servoy.properties
515 [main] INFO com.servoy.j2db.util.Debug  - Loading - Done
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/ca
talina/startup/Catalina (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at com.servoy.j2db.server.WebServer.startWebServer(Unknown Source)
        at com.servoy.j2db.server.ApplicationServer.startWebServer(Unknown Sourc
e)
        at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)

any ideas ??

:oops:

found the problem : there was an entry in the PATH environment variable that was pointing to an oracle 1.4.2 java jre.

Made sure that the first entry in the PATH environment var points to the 1.5.xxx jre. Now it works.

:P

When launching from the servoy_developer.bat file, I get the follow erro and servoy will not launch.

Exception in thread “main” java.lang.UnsupportedClassVersionError: Servoy (Unsupported major.minor version 48.0)

Where do you find the environment path? How do I change it if this is the problem? I currently only have jre 1.6 installed.

In windows explorer select “My Computer” and then right click and choose “properties” go to tab “advanced” and select button “Environment Variables”. There you can see/change these variables.

Or open a dos box and type “set | more”

You can see the PATH variable there also.

Regards,

Hans

Thank you for responding so quickly. It’s finally resolved! I’m new to Servoy and sometimes problems like this can be very frustrating.

You are welcome and your patience will be rewarded as it did for me.