- This topic has 3 replies, 2 voices, and was last updated 17 years, 10 months ago by kulkarni_ash.
-
AuthorPosts
-
kulkarni_ashMemberHi
I just downloaded and installed myeclipse ide 5.5 M1 (all in one build), i am still using java 1.4.2 for development so i changed my java version to 1.4.2_13 in Window – Preferences – Java – Installed JREs from the default C:\Program Files\MyEclipse 5.5 M1Then i created a sample java project, now this java project uses j2sdk1.42 , and wrote a simple test class to print Hello World!!
When i try to run this class i get java.lang.UnsupportedClassVersionError: com/ashishk/test/TestClass (Unsupported major.minor version 49.0) error, it seems that this program is compiled with j2sdk1.4.2 but trying to run with java 5.0 or vise versa.
When i use the change the jre to myeclipse jre it is able to run java program without errorHere is the error message i get when i run the program using java -verbose
[Opened C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\jsse.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\jce.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\charsets.jar]
[Loaded java.lang.Object from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Serializable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Comparable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.CharSequence from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.String from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Cloneable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.System from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Throwable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Error from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadDeath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Exception from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.RuntimeException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.ProtectionDomain from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AccessControlContext from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassNotFoundException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.LinkageError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NoClassDefFoundError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassCastException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ArrayStoreException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.VirtualMachineError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.OutOfMemoryError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StackOverflowError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.SoftReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.WeakReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.FinalReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.PhantomReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Finalizer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Runnable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Thread from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadGroup from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Dictionary from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Map from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Properties from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.AccessibleObject from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Member from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Field from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Method from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Constructor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MagicAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Collection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.List from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractList from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.RandomAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Vector from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.Buffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.AtomicLong from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.AtomicLongCSImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Boolean from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Character from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Number from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Float from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Double from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Byte from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Short from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Integer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Long from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NullPointerException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ArithmeticException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StrictMath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ObjectStreamField from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Comparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.String$CaseInsensitiveComparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AccessController from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Guard from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Permission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.BasicPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.ReflectPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Stack from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.RuntimePermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference$ReferenceHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Null from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Finalizer$FinalizerThread from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Enumeration from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyEnumerator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Iterator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyIterator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ObjectStreamClass from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SoftCache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Map$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.IncompatibleClassChangeError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NoSuchMethodError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Version from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.InputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileDescriptor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.OutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilterInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilterOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.PrintStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Writer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.OutputStreamWriter from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StreamEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.io.Converters from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.Reflection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.security.action.GetPropertyAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.Charset from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.spi.CharsetProvider from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.AbstractCharsetProvider from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StandardCharsets from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.SortedMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.TreeMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ASCIICaseInsensitiveComparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.TreeMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.CharacterDataLatin1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.HistoricallyNamedCharset from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Modifier from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.LangReflectAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.ReflectAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.NativeConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StreamEncoder$CharsetSE from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CharsetEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.SingleByteEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252$Encoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CodingErrorAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CharsetDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.SingleByteDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252$Decoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.ByteBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.HeapByteBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.Bits from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Unsafe from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.VM from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Runtime from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.ByteOrder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.CharBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.HeapCharBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$Cache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$2 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.Surrogate$Parser from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.Surrogate from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedWriter from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.File from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Win32FileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.WinNTFileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader$NativeLibrary from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Terminator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SignalHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Terminator$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Signal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.NativeSignalHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Integer$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Compiler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Compiler$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandlerFactory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$Factory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.SecureClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.security.util.Debug from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.StringTokenizer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedExceptionAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.ParseUtil from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.BitSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URL from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Locale from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.Parts from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.file.Handler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Set from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.ArrayList from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.jar.Handler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$2 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.SystemClassLoaderAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
java.lang.UnsupportedClassVersionError: com/ashishk/test/TestClass (Unsupported major.minor version 49.0)
[Loaded java.lang.StringCoding from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringCoding$StringDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringCoding$CharsetSD from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLClassLoader$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$Loader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$JarLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.FileURLMapper from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.zip.ZipConstants from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.zip.ZipFile from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.jar.JarFile from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.JavaUtilJarAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.jar.JavaUtilJarAccessImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SharedSecrets from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.JarIndex from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ExtensionDependency from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedActionException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$FileLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Resource from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$7 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Package from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.CodeSource from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Permissions from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.URLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.file.FileURLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.ContentHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.UnknownContentHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.MessageHeader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermission$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AllPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.UnresolvedPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.BasicPermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Long$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Principal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.cert.Certificate from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassFormatError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.UnsupportedClassVersionError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ClassFileTransformer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.IOException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StackTraceElement from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[Loaded java.lang.Shutdown from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Shutdown$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
Exception in thread “main”Ashish
kulkarni_ashMemberHi
Please ignore my previous log, this is the new log with the error[Opened C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\jsse.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\jce.jar]
[Opened C:\j2sdk1.4.2_13\jre\lib\charsets.jar]
[Loaded java.lang.Object from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Serializable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Comparable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.CharSequence from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.String from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Cloneable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.System from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Throwable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Error from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadDeath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Exception from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.RuntimeException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.ProtectionDomain from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AccessControlContext from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassNotFoundException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.LinkageError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NoClassDefFoundError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassCastException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ArrayStoreException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.VirtualMachineError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.OutOfMemoryError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StackOverflowError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.SoftReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.WeakReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.FinalReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.PhantomReference from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Finalizer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Runnable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Thread from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadGroup from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Dictionary from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Map from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Properties from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.AccessibleObject from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Member from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Field from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Method from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Constructor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MagicAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Collection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.List from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractList from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.RandomAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Vector from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.Buffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.AtomicLong from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.AtomicLongCSImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Boolean from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Character from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Number from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Float from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Double from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Byte from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Short from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Integer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Long from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NullPointerException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ArithmeticException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StrictMath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ObjectStreamField from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Comparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.String$CaseInsensitiveComparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AccessController from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Guard from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Permission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.BasicPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.ReflectPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Stack from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.RuntimePermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference$ReferenceHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Null from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ref.Finalizer$FinalizerThread from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Enumeration from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyEnumerator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Iterator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyIterator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ObjectStreamClass from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SoftCache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Map$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.IncompatibleClassChangeError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.NoSuchMethodError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Hashtable$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Version from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.InputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileDescriptor from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.OutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilterInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedInputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilterOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.PrintStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedOutputStream from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Writer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.OutputStreamWriter from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StreamEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.io.Converters from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.Reflection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.security.action.GetPropertyAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.Charset from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.spi.CharsetProvider from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.AbstractCharsetProvider from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StandardCharsets from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.SortedMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.TreeMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ASCIICaseInsensitiveComparator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.TreeMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.CharacterDataLatin1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.HistoricallyNamedCharset from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.Modifier from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.LangReflectAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.reflect.ReflectAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Class$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.NativeConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingConstructorAccessorImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.StreamEncoder$CharsetSE from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CharsetEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.SingleByteEncoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252$Encoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CodingErrorAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CharsetDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.SingleByteDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.MS1252$Decoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.ByteBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.HeapByteBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.Bits from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Unsafe from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.VM from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Runtime from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.ByteOrder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.CharBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.HeapCharBuffer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$Cache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult$2 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.Surrogate$Parser from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.nio.cs.Surrogate from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.BufferedWriter from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.File from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.Win32FileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.WinNTFileSystem from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader$NativeLibrary from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Terminator from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SignalHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Terminator$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Signal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.NativeSignalHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Integer$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Compiler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Compiler$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandlerFactory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$Factory from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.SecureClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.security.util.Debug from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.StringTokenizer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedExceptionAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.ParseUtil from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.BitSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URL from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Locale from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.Parts from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.file.Handler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.Set from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.AbstractSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.HashSet from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.ArrayList from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.jar.Handler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$2 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.SystemClassLoaderAction from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringCoding from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringCoding$StringDecoder from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StringCoding$CharsetSD from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLClassLoader$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$3 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$Loader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$JarLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.FileURLMapper from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.zip.ZipConstants from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.zip.ZipFile from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.jar.JarFile from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.JavaUtilJarAccess from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.util.jar.JavaUtilJarAccessImpl from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.SharedSecrets from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.JarIndex from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ExtensionDependency from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PrivilegedActionException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$FileLoader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.Resource from C:\j2sdk1.4.2_13\jre\java.lang.UnsupportedClassVersionError: com/ashishk/test/TestClass (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
lib\rt.jar]
[Loaded sun.misc.URLClassPath$7 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Package from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.CodeSource from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.PermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Permissions from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.URLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.URLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.file.FileURLConnection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.ContentHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.net.UnknownContentHandler from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.net.www.MessageHeader from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermission$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.FilePermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.AllPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.UnresolvedPermission from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.BasicPermissionCollection from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Long$1 from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.Principal from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.security.cert.Certificate from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.ClassFormatError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.UnsupportedClassVersionError from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded sun.misc.ClassFileTransformer from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.io.IOException from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.StackTraceElement from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Shutdown from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
[Loaded java.lang.Shutdown$Lock from C:\j2sdk1.4.2_13\jre\lib\rt.jar]
Exception in thread “main”
Scott AndersonParticipantWhen i try to run this class i get java.lang.UnsupportedClassVersionError: com/ashishk/test/TestClass (Unsupported major.minor version 49.0) error, it seems that this program is compiled with j2sdk1.4.2 but trying to run with java 5.0 or vise versa.
Actually, it can only be vice versa. The class is compiled with jdk 1.5 but you’re trying to run it with 1.4.2. That’s why the major.minor is unsupported. If it were compiled with jdk 1.4 but run on 1.5 it would work since 1.5 is backward compatible.
I’d ensure that the default compiler settings as well as your project’s compiler settings are set to 1.4.2. Additionally, when you create the launch configuration to run your application, be sure to specify that it should be run with 1.4.2 as well.
kulkarni_ashMemberHi
I changed the compiler setting to 1.4 and now it works
to do it did window-preference-java-compiler- -
AuthorPosts