Java newbie

Jerry Lapham rjlapham at gmail.com
Mon Nov 15 06:20:43 UTC 2010


On Monday, November 15, 2010 01:17:33 am Ric Moore wrote:

> 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

That's what I get:

jerry at JERRY-HP:~$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
jerry at JERRY-HP:~$ 

So what's the real deal and how do you get it?

	-Jerry

=============================================
Jerry Lapham
Monroe, OH  45050
rjlapham at gmail.com
=============================================
47% of all statistics are made up on the spot.




More information about the kubuntu-users mailing list