ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: could not find or load main class org.apache.tools.ant.launch.Launcher
Date Wed, 10 Apr 2013 01:39:28 GMT

Curious - have you configured Jenkins to know about your Ant installation?

You can define any number of Ant versions without using shell
scripts like you are attempting.



On Tue, 9 Apr 2013, Sana Khawaja wrote:

> I have installed Jenkins on windows and have some shell scipts to build
> android app
>
> however, when running ant commands( ant clean, etc) I get the following
> error:
>
> Could not find or load main class org.apache.tools.ant.launch.Launcher
>
> I have
> JAVA_HOME= C:\Program Files\Java\jdk1.7.0_17
> ANT_HOME = C:\Ant\apache-ant-1.9.0
> CLASSPATH= C:\Program Files (x86)\Jenkins\war\WEB-INF\lib
>
>
> configured, also from cygwen cmd line, when I execute it runs the ant clean
> command correctly, I have been playing with setting environment variables,
> to no avail, has someone encountered this issue before? any pointers would
> be helpful
>
> if I try to run:
>
> $ java -verbose -classpath
> /cygdrive/C/Ant/apache-ant-1.9.0/lib/ant-launcher.jar
> org.apache.tools.ant.launch.Launcher
>
>
>
> I get the following error:
>
> [Opened C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Object from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Serializable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Comparable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.CharSequence from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.String from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.GenericDeclaration from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Type from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.AnnotatedElement from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Class from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Cloneable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.System from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Throwable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Error from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ThreadDeath from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Exception from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.RuntimeException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.ProtectionDomain from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.AccessControlContext from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassNotFoundException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.LinkageError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.NoClassDefFoundError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassCastException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ArrayStoreException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.VirtualMachineError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.OutOfMemoryError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StackOverflowError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.IllegalMonitorStateException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.Reference from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.SoftReference from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.WeakReference from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.FinalReference from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.PhantomReference from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.Finalizer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Runnable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Thread from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Thread$UncaughtExceptionHandler from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ThreadGroup from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Map from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Dictionary from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Hashtable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Properties from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.AccessibleObject from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Member from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Field from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Method from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Constructor from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.MagicAccessorImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.MethodAccessor from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.MethodAccessorImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ConstructorAccessor from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ConstructorAccessorImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.DelegatingClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ConstantPool from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.FieldAccessor from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.FieldAccessorImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.UnsafeFieldAccessorImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Appendable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.AbstractStringBuilder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StringBuffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StringBuilder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StackTraceElement from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.Buffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.AtomicLong from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.AtomicLongCSImpl from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.PostVMInitHook from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Boolean from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Character from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Number from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Float from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Double from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Byte from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Short from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Integer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Long from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.NullPointerException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ArithmeticException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.ObjectStreamField from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Comparator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.String$CaseInsensitiveComparator from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.Guard from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.Permission from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.BasicPermission from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.RuntimePermission from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.AbstractMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.SoftCache from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.ReferenceQueue from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.ReferenceQueue$Null from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.ReferenceQueue$Lock from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.HashMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Map$Entry from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.HashMap$Entry from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.AccessController from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.JavaSecurityAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.AccessControlContext$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.SharedSecrets from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Unsafe from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.IncompatibleClassChangeError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.NoSuchMethodError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.Reflection from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Iterable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collection from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Set from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.AbstractCollection from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.AbstractSet from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections$EmptySet from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.RandomAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.List from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.AbstractList from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections$EmptyList from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections$EmptyMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections$ReverseComparator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Collections$SynchronizedMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.ReflectPermission from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.PrivilegedAction from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Vector from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Stack from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ReflectionFactory from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.Reference$Lock from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.Reference$ReferenceHandler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ref.Finalizer$FinalizerThread from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Enumeration from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Hashtable$EmptyEnumerator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Iterator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Hashtable$EmptyIterator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Hashtable$Entry from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Version from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.JavaLangAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.System$2 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.VM from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Runtime from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.File from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileSystem from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Win32FileSystem from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.WinNTFileSystem from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.ExpiringCache from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.LinkedHashMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.ExpiringCache$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.LinkedHashMap$Entry from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.security.action.GetPropertyAction from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Arrays from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Math from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.jkernel.DownloadManager from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ThreadLocal from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.jkernel.DownloadManager$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.atomic.AtomicInteger from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Class$3 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Modifier from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.LangReflectAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.ReflectAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.jkernel.DownloadManager$2 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StringValue from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassLoader$3 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.ExpiringCache$Entry from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassLoader$NativeLibrary from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Closeable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.InputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileInputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileDescriptor from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Flushable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.OutputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileOutputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FilterInputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.BufferedInputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded
> java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl
> from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.misc.ReflectUtil from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FilterOutputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.PrintStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.BufferedOutputStream from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Writer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.OutputStreamWriter from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StreamEncoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.Charset from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.spi.CharsetProvider from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.FastCharsetProvider from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StandardCharsets from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.util.PreHashedMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StandardCharsets$Aliases from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StandardCharsets$Classes from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StandardCharsets$Cache from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.HistoricallyNamedCharset from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.MS1252 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Class$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.ReflectionFactory$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.NativeConstructorAccessorImpl from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.reflect.DelegatingConstructorAccessorImpl from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CharsetEncoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.SingleByteEncoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.MS1252$Encoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CodingErrorAction from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CharsetDecoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.SingleByteDecoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.MS1252$Decoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.ByteBuffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.HeapByteBuffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.Bits from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.ByteOrder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Readable from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.CharBuffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.HeapCharBuffer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CoderResult from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CoderResult$Cache from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CoderResult$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.nio.charset.CoderResult$2 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.Surrogate$Parser from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.Surrogate from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.BufferedWriter from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Terminator from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.SignalHandler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Terminator$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Signal from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.NativeSignalHandler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.OSEnvironment from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.io.Win32ErrorMode from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Compiler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Compiler$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URLStreamHandlerFactory from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher$Factory from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.SecureClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URLClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher$ExtClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.security.util.Debug from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Package from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URL from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.CodeSource from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Void from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.cert.Certificate from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ClassFormatError from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.IllegalArgumentException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.IOException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.URLClassPath from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.AssertionStatusDirectives from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.JavaNetAccess from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URLClassLoader$7 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.PermissionCollection from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.StringTokenizer from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.PrivilegedExceptionAction from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher$ExtClassLoader$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.MetaIndex from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.Reader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.BufferedReader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.InputStreamReader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileReader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.nio.cs.StreamDecoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.ArrayList from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.reflect.Array from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.Locale from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.ConcurrentMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.ConcurrentHashMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.Lock from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.ReentrantLock from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.ConcurrentHashMap$Segment from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.AbstractOwnableSynchronizer from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.ReentrantLock$Sync from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.ReentrantLock$NonfairSync from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer$Node from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.concurrent.ConcurrentHashMap$HashEntry from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.CharacterDataLatin1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.ObjectStreamClass from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.net.www.ParseUtil from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.BitSet from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.Parts from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URLStreamHandler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.net.www.protocol.file.Handler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.util.HashSet from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.net.www.protocol.jar.Handler from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher$AppClassLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.Launcher$AppClassLoader$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.SystemClassLoaderAction from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StringCoding from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ThreadLocal$ThreadLocalMap from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from
> C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.StringCoding$StringDecoder from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.net.URLClassLoader$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.net.util.URLUtil from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.URLClassPath$3 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.URLClassPath$Loader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.URLClassPath$JarLoader from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.security.PrivilegedActionException from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.URLClassPath$JarLoader$1 from C:\JavaSDK\lib\rt.jar]
>
> [Loaded sun.misc.FileURLMapper from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.io.FileNotFoundException from C:\JavaSDK\lib\rt.jar]
>
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tools.ant.launch.Launcher
>
> 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)
>
> [Loaded java.lang.Shutdown from C:\JavaSDK\lib\rt.jar]
>
> [Loaded java.lang.Shutdown$Lock from C:\JavaSDK\lib\rt.jar]
>
> Could not find the main class: org.apache.tools.ant.launch.Launcher.
> Program will exit.
>
> Exception in thread "main"
>

Scot P. Floess             RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
                            http://flossware.sourceforge.net
                            https://github.com/organizations/FlossWare

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message