1 Reply Latest reply on Dec 11, 2007 1:00 PM by Pete Muir

    error with seam setup

    yaohua you Newbie

      could somebody help me to find out what is the problem with my operation?
      my jdk version is the brandnew 6.03.

      output form cmd windows:
      Microsoft Windows [Version 5.2.3790]
      (C) Copyright 1985-2003 Microsoft Corp.

      D:\Java\jboss-seam2>java
      Usage: java [-options] class [args...]
      (to execute a class)
      or java -jar [-options] jarfile [args...]
      (to execute a jar file)

      where options include:
      -hotspot to select the "hotspot" VM
      If present, the option to select the VM must be first.
      The default VM is -hotspot.

      -cp -classpath <directories and zip/jar files separated by ;>
      set search path for application classes and resources
      -D=
      set a system property
      -verbose[:class|gc|jni]
      enable verbose output
      -version print product version and exit
      -showversion print product version and continue
      -? -help print this help message
      -X print help on non-standard options

      D:\Java\jboss-seam2>seam setup
      java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported ma
      jor.minor version 49.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.apache.tools.ant.launch.Locator.getToolsJar(Locator.java:355)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:232)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

      D:\Java\jboss-seam2>