On Fri, Nov 25, 2011 at 12:43:38PM +0000, Richard wrote: > On Fri, 25 Nov 2011 12:15:17 +0000 > Darac Marjal <mailingl...@darac.org.uk> wrote: > > > On Fri, Nov 25, 2011 at 10:41:16AM +0000, Richard wrote: > > > Hi > > > Gnome3 menu editing is a real PITA. > > > I found this which I'd like to try > > > Gnome3_AppMenuEditor.jar > > > how do you run this, I've tried jar Gnome3....., but jar is not > > > recognised, > > > JRE is loaded, but its been so long since I've played with java apps, > > > sorry. > > > > I believe the syntax is "java -jar Gnome3_AppMenuEditor.jar". > > > > Alternatively, if you install the package "jarwrapper", you can execute > > the file directly by "./Gnome3_AppMenuEditor.jar". > > > > > > Thanks that did something:- > > root@g8jvm:/home/richard/github# java -jar Gnome3_AppMenuEditor.jar > Exception in thread "main" java.lang.UnsupportedClassVersionError: > Gnome3MenuEditor : Unsupported major.minor version 51.0 > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:634) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) > at java.net.URLClassLoader.access$000(URLClassLoader.java:73) > at java.net.URLClassLoader$1.run(URLClassLoader.java:212) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > Could not find the main class: Gnome3MenuEditor. Program will exit. >
Google suggests: http://geekexplains.blogspot.com/2009/01/javalangunsupportedclassversionerror.html > > I did try using jarwrapper but got the same. :( Yes, because jarwrapper's only automatically doing what you just did. It's not magic. -- Darac Marjal
signature.asc
Description: Digital signature