Hii
I have this jar
psae.jar
witch just get the name of me, and print it on screen
now by using
Code:
java -jar psae.jar XXX
it works and say "hello world xxx"
so
now I want to make a java program to run it
so I have done this
Code:
class x{
public static void main (String[] args) {
psae.HelloWorld.main("OZ");
}
}
and it doesn't work
say:
Code:
javac -cp . x.java
a:3: package psae does not exist
psae.HelloWorld.main("XXX");
What to do please?