This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with packages  RSS feed

 
kandula chandrasekhararao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
my current directory is D:\
i am having one of my class file at D:\MyPack\Balance.class
at prasent iam writing another file called AccountBalance.java at D:\AccountBalance.java. and in this i am importing Balance.class through import MyPack.*;
here while compiling i am getting error regg MyPack.Balance is not found.
but it is working if i place MyPack.Balance in place of Balance.
pls help me.thanks in advance
 
Kip Dekan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I know your problem. You've got to add the directory of the wanted class file to your Requiered Libraries or your class path.
You are workin with JBuilder?
Edit the Project Properties -> Sheet Path -> Sheet Requiered libraries -> add
You are workin only with jdk
tip into the commad "set path=%D:\...%
Hoping it will work
[ July 31, 2003: Message edited by: Dekan ]
 
kandula chandrasekhararao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya it's working.
thank you so much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!