I created that one. A google on trying to figure out what was going on (before I posted here), suggested that Eclipse did not work on Java 7, so I removed the Java 7 runtime (and apparently did not remove the JDK 7), so after re-installing JRE 1.7 Hello World works again
On Nov 4, 10:24 am, Guido Bonelli <[email protected]> wrote: > check this link out. you may be this. > > a *higher JDK version is used to compile the source file and a lower JDK > version is used to run the program*. for example if you compile your java > source file in JDK 1.5 and you will try to run it on JDK 1.4 you will get > errorhttp://javarevisited.blogspot.com/2011/07/javalangunsupportedclassver... > > > > On Fri, Nov 4, 2011 at 11:13 AM, Dan Harding <[email protected]> wrote: > > I've got all the Android things showing up in Eclipse like they are > > supposed to, but now (after moving eclipse and android folders to C: > > and installing ADT plugin) the Hello world tutorial doesn't run. > > > The console shows: > > > java.lang.UnsupportedClassVersionError: HelloWorld : Unsupported > > major.minor version 51.0 > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClassCond(Unknown Source) > > 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$000(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) > > Exception in thread "main" > > > Is says in the "Title Bar" of the console "<terminated> HelloWorld > > [Java Application] C:\Program Files\Java\jre6\bin\javaw.exe (Nov 4, > > 2011 10:04:17 AM) > > > I don't recall specifying putting a Java folder on C:\Program files so > > I'm guessing this folder is used by other apps, such as Open Office > > and shouldn't be moved. The Java folder contains 3 sub folders: > > > jkd1.6.0_26, jre1.6.0_07, jre6 > > > Because Eclipse used to be on C:\Program Files, is there a > > configuration I need to change? > > > On Nov 4, 8:53 am, Guido Bonelli <[email protected]> wrote: > > > glad to help. > > > > On Fri, Nov 4, 2011 at 9:27 AM, Dan Harding <[email protected]> > > wrote: > > > > C:\Program Files > > > > > Moving both Eclipse and Android SDK folders to C: fixed the problem. > > > > > Thank you! > > > > > I will look at the blog as well, Thank you. > > > > > On Nov 4, 7:44 am, Guido Bonelli <[email protected]> wrote: > > > > > where are you installing the tools to? Should be under root c: > > > > > > On Fri, Nov 4, 2011 at 8:37 AM, Dan Harding <[email protected]> > > > > wrote: > > > > > > Brand new developer to Android (30+ years experience elsewhere). > > > > > > > Have AVD Manager and SDK Manager installed. Running on Windows > > Vista. > > > > > > Following online instructions to install ADT plugin. Get far > > enough > > > > > > to select Developer Tools from within Eclipse, but get the > > following > > > > > > message: > > > > > > > Cannot complete the install because one or more required items > > could > > > > > > not be found. > > > > > > Software currently installed: Shared profile 1.0.0.1316138460759 > > > > > > (SharedProfile_epp.package.java 1.0.0.1316138460759) > > > > > > Missing requirement: Shared profile 1.0.0.1316138460759 > > > > > > (SharedProfile_epp.package.java 1.0.0.1316138460759) requires > > > > > > 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be > > > > > > found > > > > > > > Help->About Eclipse yields: > > > > > > > Eclipse IDE for Java Developers > > > > > > > Version: Indigo Service Release 1 > > > > > > Build id: 20110916-0149 > > > > > > (c) Copyright Eclipse contributors and others 2000, 2011. All > > rights > > > > > > reserved. > > > > > > Visithttp://eclipse.org/ > > > > > > > This product includes software developed by the > > > > > > Apache Software Foundationhttp://apache.org/ > > > > > > > ------ > > > > > > > What am I missing? > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google > > > > Groups > > > > > > "Android Discuss" group. > > > > > > To post to this group, send email to > > [email protected]. > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected]. > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/android-discuss?hl=en.-Hidequoted > > > > text - > > > > > > - Show quoted text - > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Android Discuss" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-discuss?hl=en.-Hide quoted > > text - > > > > - Show quoted text - > > > -- > > You received this message because you are subscribed to the Google Groups > > "Android Discuss" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/android-discuss?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
