db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From velimzo <veli...@gmail.com>
Subject Hello
Date Tue, 01 Dec 2009 17:51:46 GMT

I am new in Derby. 

Here is my problem:
I am following "Getting Started With Java DB" instructions.
Problem occures when I try to follow instructions for "Run a JDBC program
using the embedded driver".
I compiled successfully WwdEmbedded.java, not following instructions but
with a command javac *.java
When I try to run WwdEmbedded.java there is an error that looks like this:
C:\Documents and Settings\Zoran\Desktop\DERBYTUTOR>java WwdEmbedded
Exception in thread "main" java.lang.NoClassDefFoundError: WwdEmbedded
Caused by: java.lang.ClassNotFoundException: WwdEmbedded
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: WwdEmbedded.  Program will exit.
My version of Java is : Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Version of Derby is : Derby
Operating System : Windows XP sp3

I am thankful on every answer...
View this message in context: http://old.nabble.com/Hello-tp26595406p26595406.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message