Java newbie
Ric Moore
wayward4now at gmail.com
Mon Nov 15 06:17:33 UTC 2010
On Sun, 2010-11-14 at 21:41 -0500, Jerry Lapham wrote:
> I'm brand new to running java programs and Superbcalc looks just what I've
> been looking for - a non-scientific calculator with a "tape." I can't get it
> to run, so I sent the following to the author:
>
> SuperbCalc looks like just the application I've been looking for.
> Unfortunately, when I try to run it I get
>
> jerry at JERRY-HP:~/Downloads$ java superbcalc.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: superbcalc/jar
> Caused by: java.lang.ClassNotFoundException: superbcalc.jar
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> 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: superbcalc.jar. Program will exit.
>
> Is there something I'm missing? I'm running Kubuntu 10.04 Linux.
>
> -Jerry
>
> It's been over a month with no response. Anyone here a java expert who could
> tell me what the error messages mean?
Sure, I think I replied before... what does java -version return for
you?
wayward4now at iam:/opt$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
wayward4now at iam:/opt$
If you see something like open-JDK that ain't the real deal. Ric
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256
More information about the kubuntu-users
mailing list