File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "package" Watch "package" New topic


jidish kumar

Joined: Sep 05, 2003
Posts: 3
yeah i had a doubt
yeah how can i set a classpath which i had made a package called
and the class name is acct.i had saved in F:\mypack
when i compile there is no error
when i run from the same F:\mypack it is showing an error
and when i removed mypack folder there is no error
so i want to know how class path are setting
myjava file is on D:\jdk1.3\bin
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

You should set the classpath to 'F:\' and run the file with its full classname - 'mypack.acct'.

Moving this to Java in General.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: package
It's not a secret anymore!