Results 1 to 9 of 9
Thread: kestion
- 07-29-2008, 12:15 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 14
- Rep Power
- 0
kestion
Hi guys ,i have a problem in how to include certain java files in my application's classpath ,the files has to be put in com.folderx..... but when I put them in the application folder ,i can't import in the application main class,
import com.folderx...... gives me an error (folder doesn't exist) ,plz can anybody help ??
- 07-29-2008, 12:16 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What application are you talking about? Any IDE?
- 07-29-2008, 12:23 PM #3
Member
- Join Date
- Mar 2008
- Posts
- 14
- Rep Power
- 0
i'm working under net beans ide, it's an image classification tool, I have to include some jar files in my class path ,how to do this ?
- 07-29-2008, 12:26 PM #4
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Set your classpath.
- 07-29-2008, 12:28 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I'm not clear what you are asking here. Adding a jar file to a class path is wired me at all. If I'm correct what you want to do is, use a jar file in your project, right? That's adding external jar files to the project.
To include a jar file in NetBeans, go to the project properties by right clicking on the project. Then click on the libraries menu. There you have an option to add a jar file on to your project.
- 07-29-2008, 12:30 PM #6
Member
- Join Date
- Mar 2008
- Posts
- 14
- Rep Power
- 0
alreadyy done, but still the same problem,while setting the classpath , which type of variables systems i should put it under,(user or system variable ),thx
- 07-29-2008, 12:34 PM #7
Member
- Join Date
- Mar 2008
- Posts
- 14
- Rep Power
- 0
ok i'll try it.
- 07-29-2008, 12:44 PM #8
Member
- Join Date
- Mar 2008
- Posts
- 14
- Rep Power
- 0
Well, what i want to know is how to set the class path.
- 07-29-2008, 03:08 PM #9
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks