aspose file tools*
The moose likes Beginning Java and the fly likes asking about classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "asking about classpath " Watch "asking about classpath " New topic
Author

asking about classpath

kumar abhay
Ranch Hand

Joined: Oct 02, 2001
Posts: 53
hi there,
hope u ppl r doin' fine.i have a problem regarding packages in java.i tried to set the class path of a package like"d:\javaa\game"(currently i m here)
where
game is the package name
i tried like "d:\javaa"(new classpath) i gave that classpath to it,since then jave compiler just compiles every programme but while running it gives the message"no class deffound" not to only that class.i tried to run another file from another folder (which was running fully before that but later did not work out) even then it gave the same message.i m really confused aboutr it.plz help me out that wat i should do about it&how should i get it as it was before.
i will wait for ur reply.i m really upset about it.
take care
with regards
kumar abhay
Shivaji Marathe
Ranch Hand

Joined: Jan 11, 2002
Posts: 203
You can not set classpath of a package. Class path is way that the operating system of your machine tells the Java Virtual Machine where the JVM can locate classes ( and packages).
Are you just trying to add the 'd:\java\games\' to your classpath?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: asking about classpath
 
Similar Threads
package help
Development: trouble with import and classpath
Increasing Disk Partition Size on Linux
PackageInheritance
class question