3 Replies Latest reply on Apr 4, 2007 5:53 PM by fhh

    Startproblem at EJB-Client

    argonist

      Hello,

      EJB-Client is started by Ant or Eclipse without problem, but I dont know how is EJB-Client started by commandline at console.

      Is is right?

      java -classpath {JBOSS_HOME}/client/*.jar:titan.jar com.titan.clients.Client

      Thanks

        • 1. Re: Startproblem at EJB-Client

           


          java -classpath {JBOSS_HOME}/client/*.jar:titan.jar com.titan.clients.Client


          I think wildcards on the classpath are only supported in Java 6 and then it is classpath ${JBOSS_HOME}/client/*. The extension .jar is appended automatically.

          Regards

          Felix

          • 2. Re: Startproblem at EJB-Client
            argonist


            That's right. I have only JAVA 5.

            But I've been tried to use different classpath.

            for example:


            java -classpath /home/ponte/jboss-4.0.5.GA/client/*.jar:titan.jar com.titan.clients.Client


            But it don't work.

            regards
            Manu

            • 3. Re: Startproblem at EJB-Client

              I said:


              Wildcards on the classpath are only supported in Java 6.


              You said:

              That's right. I have only JAVA 5. [...] But it don't work.


              Well... I'm not sure where the "but" comes from. Obviously it will not work.

              Regards

              Felix