Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-504

Fresh install doesn't run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-beta-5
    • 1.0-JSR-2
    • None
    • None
    • See description -

    Description

      Following the directions at http://groovy.codehaus.org/install.html doesn't leave my system in a runnable state

      ==============================================
      Microsoft Windows 2000 [Version 5.00.2195]
      (C) Copyright 1985-2000 Microsoft Corp.

      C:\>wget http://dist.codehaus.org/groovy/distributions/groovy-1.0-beta-5.tar.gz
      -08:50:04- http://dist.codehaus.org/groovy/distributions/groovy-1.0-beta-5.tar.gz
      => `groovy-1.0-beta-5.tar.gz'
      Resolving dist.codehaus.org... 64.7.141.17
      Connecting to dist.codehaus.org[64.7.141.17]:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 6,205,683 [application/x-tar]

      100%[=====================================================>] 6,205,683 161.41K/s ETA 00:00

      08:50:45 (148.11 KB/s) - `groovy-1.0-beta-5.tar.gz' saved [6205683/6205683]

      C:\>cd tools

      C:\tools>tar xzf ..\groovy-1.0-beta-5.tar.gz

      C:\tools>dir gro*
      Volume in drive C is LOCAL DISK
      Volume Serial Number is 07D2-0614

      Directory of C:\tools

      05/12/2004 10:44a <DIR> groovy-1.0-beta-5
      0 File(s) 0 bytes
      1 Dir(s) 5,183,897,600 bytes free

      C:\tools>dir groovy-1.0-beta-5\
      Volume in drive C is LOCAL DISK
      Volume Serial Number is 07D2-0614

      Directory of C:\tools\groovy-1.0-beta-5

      05/27/2004 08:51a <DIR> .
      05/27/2004 08:51a <DIR> ..
      05/12/2004 10:44a <DIR> bin
      05/12/2004 10:44a <DIR> conf
      05/12/2004 10:40a <DIR> docs
      05/12/2004 10:44a <DIR> lib
      05/12/2004 10:40a 697,392 groovy-1.0-beta-5.jar
      05/12/2004 10:40a 1,978 LICENSE.txt
      2 File(s) 699,370 bytes
      6 Dir(s) 5,183,897,600 bytes free

      C:\tools>cd ..

      C:\>set GROOVY_HOME=C:\tools\groovy-1.0-beta-5

      C:\>set PATH=%PATH%;%GROOVY_HOME%\bin

      C:\>groovysh

      ERROR: Environment variable JAVA_HOME has not been set.

      Please set the JAVA_HOME variable in your environment to match the
      location of your Java installation.

      C:\>set JAVA_HOME=C:\jdk1.3.1

      C:\>groovysh
      Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Logger
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.<clinit>(DefaultGroovyMethods.java:10
      8)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:120)
      at groovy.lang.MetaClassRegistry.class$(MetaClassRegistry.java:91)
      at groovy.lang.MetaClassRegistry.<init>(MetaClassRegistry.java:91)
      at groovy.lang.MetaClassRegistry.<init>(MetaClassRegistry.java:80)
      at org.codehaus.groovy.runtime.Invoker.<init>(Invoker.java:90)
      at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:87)
      at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:61)
      at groovy.lang.Binding.<init>(Binding.java:62)
      at groovy.lang.GroovyShell.<init>(GroovyShell.java:101)
      at groovy.ui.InteractiveShell.<init>(InteractiveShell.java:74)
      at groovy.ui.InteractiveShell.main(InteractiveShell.java:84)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:474)
      C:\>groovyConsole
      Exception in thread "main" java.lang.UnsupportedClassVersionError: groovy/ui/ConsoleSupport (Unsu
      pported major.minor version 48.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:136)
      at org.codehaus.classworlds.ClassRealmImpl.loadClassDirect(ClassRealmImpl.java:262)
      at org.codehaus.classworlds.ClassRealmImpl.loadClass(ClassRealmImpl.java:239)
      at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:155)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:136)
      at org.codehaus.classworlds.ClassRealmImpl.loadClassDirect(ClassRealmImpl.java:262)
      at org.codehaus.classworlds.ClassRealmImpl.loadClass(ClassRealmImpl.java:239)
      at org.codehaus.classworlds.Launcher.getMainClass(Launcher.java:194)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:371)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:336)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:474)
      C:\>
      ==============================================

      Attachments

        Activity

          People

            sstirling sstirling
            levicook Levi Cook
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: