I think the examples use Annotations, and for that you need JDK 1.5 Geoff On 11/6/05, Binil Thomas <[EMAIL PROTECTED]> wrote: > I downloaded jboss-tapestry-examples-4.0-beta-12 and tried > to use it, but > couldn't. > > My Environment: > --------------- > OS: Mac OS X Tiger > VM: Apple 1.4.2_02_07 > > What I did: > ----------- > 1. Unzipped the tapestry-examples-4.0-beta-12.tar.gz file > to > /Users/binil/Desktop/jboss-tapestry-examples-4.0-beta-12, which I call > TAPESTRY_EXAMPLES_HOME > 2. cd TAPESTRY_EXAMPLES_HOME/bin > 3. chmod +x run.sh > 4. Executed run.sh > 5. JBoss started up, but virtual library application failed to install. > JBoss > console output is attached as vlib-failure.txt > 6. I opened my browser, and tried to acces the workbench example > (http://localhost:8080/workbench/app), but that also > failed. JBoss console > output is attached as workbench-failure.txt > > Both failures point to an > java.lang.UnsupportedClassVersionError: Unsupported > major.minor version 49.0. > > JavaDoc for this error states: > "Thrown when the Java Virtual Machine attempts to read a class file and > determines that the major and minor version numbers in the file are not > supported." > > Out of curiosity, I tried using 1.3.1_15 version of Apple JDK I had, and > then I > could not even start JBoss. The execption is, again: > > Exception in thread "main" > java.lang.UnsupportedClassVersionError: org/jboss/Main > (Unsupported major.minor version 48.0) > at java.lang.ClassLoader.defineClass0(Native > Method) > at > java.lang.ClassLoader.defineClass(ClassLoader.java:488) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) > .. > > JBoss seems to be compiled for JDK 1.4.2 but not JDK 1.3.1. I guess that > Tapestry > examples are compiled for a JDK > 1.4.2. > > So, what is the minimun version of JDK I need to have in order to be able > to run > these examples? > > Thanks, > Binil > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > >
-- The Spindle guy. http://spindle.sf.net Get help with Spindle: http://lists.sourceforge.net/mailman/listinfo/spindle-user Announcement Feed: http://www.jroller.com/rss/glongman?catname=/Announcements Feature Updates: http://spindle.sf.net/updates --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
