The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Java help needed by Spisefisken2004-09-22 04:09:34
  It means that java cannot find the class you're by afterburner 2004-09-22 04:19:06
trying to use.

Do you use packages? (defined like 'package example;' in the start of .java files)
If not put classpath to your java-command like this:
java -cp directory_of_the_class_files_here MyJavaClass

If you do:
One package is basically a directory. Sub directories are sub packages.
Start java like this:
java -cp directory_of_the_class_files_here_without_the_package_dir mypackage.MyJavaClass

Hope this helps.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)