Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] newbie gets expanded error on HelloWorld

PC size does matter!

2005-09-24


If I copy the HelloWorld.class that I compiled
directly into the c:\jdk1.5.0\bin directory, I get
this error upon execution:

C:\jdk1.5.0\bin>java HelloWorld
Exception in thread "main"
java.lang.NoClassDefFoundError: HelloWorld (wrong nam
e: com/lowagie/examples/general/HelloWorld)
    at java.lang.ClassLoader.defineClass1(Native
Method)
    at
java.lang.ClassLoader.defineClass (ClassLoader.java:620)
    at
java.security.SecureClassLoader.defineClass (SecureClassLoader.java:12
4)
    at
java.net.URLClassLoader.defineClass (URLClassLoader.java:260)
    at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at
java.security.AccessController.doPrivileged(Native
Method)
    at
java.net.URLClassLoader.findClass (URLClassLoader.java:188)
    at
java.lang.ClassLoader.loadClass (ClassLoader.java:306)
    at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at
java.lang.ClassLoader.loadClass (ClassLoader.java:251)
    at
java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319)

C:\jdk1.5.0\bin>

I know it is something stupid I am doing, but I must
get some sleep now...

thanks in advance for the help.



   
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.