[jboss-user] [jBPM] - Re: Error debugging on clean install

Chris Nash do-not-reply at jboss.com
Fri Aug 26 10:33:51 EDT 2011


Chris Nash [http://community.jboss.org/people/code_monkey] created the discussion

"Re: Error debugging on clean install"

To view the discussion, visit: http://community.jboss.org/message/623222#623222

--------------------------------------------------------------
Yes, but it errors out (so it doesn't start). I get this:

start.human.task:
    [javac] C:\jbpm-installer\build.xml:500: warning: 'includeantruntime' was no
t set, defaulting to build.sysclasspath=last; set to false for repeatable builds
     [java] java.lang.UnsupportedClassVersionError: org/jbpm/DemoTaskService : U
nsupported major.minor version 51.0
     [java]     at java.lang.ClassLoader.defineClass1(Native Method)
     [java]     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
     [java]     at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
     [java]     at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:141)
     [java]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
     [java]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] Could not find the main class: org.jbpm.DemoTaskService.  Program wi
ll exit.
     [java] Exception in thread "main"
     [java] Java Result: 1

Now it apparently doesn't like the Java +minor+ version I'm using. I really don't want to have to regress to Java 1.5 if I don't have to. Why is jBPM so picky about the Java version numbers? Aren't they all backwards compatible? What's the +latest+ version I can get away with? Thanks again!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/623222#623222]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110826/9200861b/attachment.html 


More information about the jboss-user mailing list