Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package

 
jidish kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah i had a doubt
yeah how can i set a classpath which i had made a package called
mypack
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
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should set the classpath to 'F:\' and run the file with its full classname - 'mypack.acct'.

Moving this to Java in General.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic