• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

class path

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,
i have the follwoing problems :
i create package myPackage .This myPackage contain number of classes (a,b, c, d,e,f,g) where each class in file and i want to use this package in example myExample.Therefore , i write :
package myPackage ;
in first line in each file(a,b,c,d,e,f)
and i write
import myPackage.* ;
in the first line in myExample file
where myPackage is in the following path :
c:\nada\myPackage\
and myExample in the follwoing path :
c:\nada\myExample.java
i use kawa interface and i try to add class path many times but still doesn't work .When i run myExample classes(a,b,..) not found
the question :
where i must add class path for myPackage
thanks alot
-Nada
 
Ranch Hand
Posts: 477
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This post doesn�t belongs to the Threads forum, I'm moving it to Java in General (intermediate) where you will get more help.
 
reply
    Bookmark Topic Watch Topic
  • New Topic