[EMAIL PROTECTED] wrote:
> Hello!
> I tried to compile and test the Register example
> http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/copystamp/Register.java
> 
> but it didn't work!
> 
> My steps:
> First compile...
>    javac -classpath itext-1.4.7.jar Register.java
> ...without an error message
> 
> and then try to run it
>    java -cp itext-1.4.7.jar Register
> 
> Then i get following error message:
> 
>    Exception in thread "main" java.lang.NoClassDefFoundError: Register
> 
> What have I done wrong?

You only have the iText.jar in your CLASSPATH;
you didn't include the directory where the JVM
can find Register.class

> Can anyone tell me how i get that running?

If you're a newbie: start learning the basics of Java.
If you're not a newbie: try getting a good night's rest.
I only make this kind of errors when I haven't slept
for a few days.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to