2 Replies Latest reply on Dec 11, 2002 2:55 AM by Bonkers

    insatallation guide with ant

    Bonkers Newbie

      Hi,
      I have jboss 3.0, j2sdkee 1.2.1 and ant. How should I set the classpath? While compiling, javac cant find the ejb package from the j2sdkee.
      now i set it to:

      D:\Coding\j2sdk1.4.1;D:\Coding\j2sdkee1.2.1

      Please help, i'm a beginner...

      Thanks a lot!

        • 1. Re: insatallation guide with ant
          Didi Newbie

          the linux version looks like that (in .bashrc or /etc/.profile)

          export JAVA_HOME=/opt/java
          export ANT_HOME=/opt/ant
          export CATALINA_HOME=/opt/tomcat
          export J2EE_HOME=/opt/sun/j2ee
          export JBOSS_HOME=/opt/jboss
          export XDOCLET_HOME=/opt/xdoclet

          export CLASSPATH=.:$J2EE_HOME/lib/j2ee.jar:$CLASSPATH
          export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$CATALINA_HOME/bin:$JBOSS_HOME/bin:$PAT
          H

          • 2. Re: insatallation guide with ant
            Bonkers Newbie

            Thanks for your answer, but it still doesnt work. i have set my classpath to
            D:\Coding\j2sdk1.4.1;D:\jboss-3.0.4\server\default\lib;D:\Coding\j2sdkee1.2.1\lib\j2ee.jar

            ant still miss the javax.ejb package...