Re: jar problems



I don't know why
C:\test>java -classpath c:\test\jarman.jar; a/b/JarTest is working

Isn't the name of the main class a.b.JarTest?

I think it may be due to your classpath because the error indicates
that it can't find c/d/JarMan

Perhaps you should try:

C:\test>java -classpath .;c:\test\jarman.jar -jar jartest.jar

--
Fahd Shariff
"Let the code do the talking... "

.



Relevant Pages

  • Re: ClassLoader confusion
    ... sory I was out of the office today. ... - but the rule is that you cannot have your classes in the classpath ... tommorrow I'll copy paste a piece of code that works ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: JMatLink problem
    ... > I cant pass the test of installation of JMatLink. ... It was Classpath issue. ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: classpath
    ... >where do i put my "CLASSPATH" variable? ... System variables. ... http://mindprod.com Java custom programming, consulting and coaching. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: how do I make Class.forName("Integer") returning java.lang.Integer ?
    ... If you don't mind fully qualifying, ... If you want to find all classes on the classpath called Integer, ... classloader, which happens to be a URLClassLoader, normally. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: call java from c++: where to put class
    ... E:\codes_Tony is in my classpath, ... any hints? ... Tony ... Prev by Date: ...
    (comp.lang.java.programmer)