[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: quick daft question Java app



On Fri, 25 Nov 2011 12:15:17 +0000
Darac Marjal <mailinglist@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.


I did try using jarwrapper but got the same. :(

-- 
Best wishes / 73
Richard Bown

e-mail: richard@g8jvm.com   or   richard.bown@blueyonder.co.uk

nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
################################################################################## 


Reply to: