Configure Path/CLASSPATH/JAVA_HOME/TOMCAT_HOME

hi all. iM sorry mayb this topic has been posted several times. But iM still encountering some problems here might need the experts help out there. What i did initially was to open up the autoexec.bat files(iM using win98) and added this lines:
set CLASSPATH=C:\xerces-1_4_4\xerces.jar;C:\soap-2_2;C:\soap-2_2\lib\soap.jar;C:\jaf-1.0.1\activation.jar;C:\javamail-1.2\mail.jar;.;C:\jdk1.3.1\lib;C:\jdk1.3.1\lib\tools.jar;C:\jdk1.3.1\jre\lib;C:\tutorial\demo1;C:\tutorial\demo2;C:\tutorial\demo3;C:\jsse1.0.2\lib\jsse.jar;C:\jsse1.0.2\lib\jnet.jar;C:\jees1.0.2\lib\jcert.jar;C:\rhino\js.jar;C:\jakarta-tomcat-3.2.3\lib\servlet.jar;
PATH %PATH%;.;C:\jdk1.3.1\bin;C:\jakarta-tomcat-3.2.3\bin;C:\Winnt\System32;
SET JAVA_HOME=C:\jdk1.3.1
SET TOMCAT_HOME=C:\jakarta-tomcat-3.2.3
Ok... when i tried to run tomcat on the MSDOS command they said that "Out of environment space" and "check the value of TOMCAT_HOME" Help appreciated...

You need to allocate more space to the DOS environment. How this is done varies by OS. Here's results of a forum search that probably has the information specific to your system.
http://search.java.sun.com/search/java/index.jsp?qp=&nh=100&qt=%2Bdos+%2B%22environment+size%22+-%22Replies%3A+0%22&col=javaforums&x=33&y=8
Fixing the space problem will probably resolve the Tomcat Home error, it's probably due to insufficient environment space.

Similar Messages

  • Environment variables like classpath,JAVA_HOME,path

    Sir,
    I work as a java developer in a software company.I had more problems when executing servlets."could not create the java vitual machine" error comes when i try to compile java servlet file.also I do not know that how to set environment variables like classpath,path and JAVA_HOME.Also I want to know them with proper examples.
    Thanking you.
    KRamesh

    Hi Teches
    I am facing few problem in starting eclipse 3.0 ; I had gone trogh forum , 1 of the persone suggest me to upgrade the java version.For this
    I had installed java 1.5 and set the following variable
    JAVA_HOME ---> to the home dir of JAVA
    PATH ---><home dir>/bin
    CLASSPATH --><jre>/lib
    But when ever i m giving "java -version" command on console , the result is as follows:
    C:\>java -version
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    suggestion are welcome Plz.
    ;

  • Setting Path,Classpath in Mandrake 8.2

    I have added the following lines to the .bashrc .bash_profile for my regular user
    and /etc/profile and i still cannot find the java path with a regular user but using root i can
    Shouldn't the /etc/profile allow all users to access the java directory?
    export JAVA_HOME=/usr/local/j2sdk1.4.0/
    export PATH=$PATH:$JAVA_HOME/bin/
    export CLASSPATH=$JAVA_HOME/lib/
    Thanks

    I'm in the same boat as you are. Did you ever get the java working??

  • Linux - j2sdk1.4.2_06 can't set path/classpath

    I am struggling to get my java set up to write, compile and run some java programs, and honestly being a linux newbie the docs for such are somewhat confusing..
    I am trying to break this down as simple as possible.
    -I am logged into Linux as root.
    -then download the j2sdk1.4.2_06 in the /USR/ dir
    -I did chmod +x j2sdk1.4.2_06...
    -then./j2sdk1.4.2_06...
    it installed successfully.
    but setting up the path classpath is different.
    I would like two things:
    for my mozilla browser to now be java enabled, AND
    I would like to create a directory called javasrc to hold all my java source code
    but I do not want to develop in root, I want any user to be able to use the javasrc directory and be able to compile and run the programs..
    what exactly do I edit. someone said I need to edit a file in /ETC/PROFILE
    I want to try this..but I dont think it is correct
    export JAVA_HOME=/usr/j2sdk1.4.2_06
    PATH=$HOME:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/X11:/sbin:/home/mqm/bin:$JAVA_HOME/bin
    export PATHthanks

    I'd advice you to not touch CLASSPATH until you've studied how packages and classloading work. Until then it will just get on your way.
    What comes to setting PATH, the file to modify in /etc depends on your distribution -- a least in some versions of SuSE /etc/profile is generated by a script and you are supposed to modify /etc/profile.local instead. You could also edit a file called ".bashrc" in your home directory. The manual page of bash explains the differences between using these files. If you modify /etc/profile you need to either start a new login shell or source the file for the change to have effect. The lines to write are:export JAVA_HOME=/usr/j2sdk1.4.2_06
    export PATH=$PATH:$JAVA_HOME/bin

  • CLASSPATH & JAVA_HOME

    Does anyone know where Windows store enviroment CLASSPATH & JAVA_HOME?

    In the registry. To edit, open the Control Panel and
    double click the System icon. Then on the Advanced tab
    choose Environment Variables...Ok, but how can I set them up using JAVA? Like "CLASSPATH=d:\java_1.3.1\"

  • Troubles with PATH/CLASSPATH

    I have been trying to set up my PATH/CLASSPATH variables on my WINDOWS XP computer for quite some time but cant quite get it right. In the PATH variable, if I put the entry for the java SDK first, I can use java commands via cmd.exe but I cant use windows commands (such as ping). If I put the default entries at the begining then the java entry at the end, I can use windows commands, but not the java ones. Why does it only register the first entry on the list?
    The CLASSPATH variable works fine.

    Possibly you are including a space " " in the expression?
    They aren't allowed. Here's my path statement (on 98SE):
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    Copy and paste your statement here if you still have problems.

  • Configuration path for Inbound delivery header text".

    Hi,
    I want separate text type for Inbound delivery, in transaction code VL31N.
    Can any body suggest on "Configuration path for Inbound delivery header text".
    Thanks & Regards
    Sudhansu

    Hi,
    Use Transaction VOTXN.
    *Select the radio button next to Delivery. and select Text types.
    *Go to new entries and create your own text ID after creating text ID go back to the previous screen and select change button.
    Create access sequence.
    select the access sequence you have created and double click ACCESS SEQUENCE FOR TEXT ID folder and Enter sequence number, Text object  and teh text ID you have created.
    Double click text procedure
    Select the text procedure which you are using for teh Delivery document type and double click TEXT ID IN TEXT PROCEDURE Folder.
    Assign the sequenec number TEXT ID and teh ACCESS sequence.
    Afer all teh above configuration steps the you can see the text ID in header text of billing document.
    To retrive teh contents of teh TEXT ID use Fuction module READ_TEXT with TEXT ID, LANG, NAME and TEXT OBJECT as input parameters.
    Note: The contents of the text ID will be in multiple lines of 70 characters each.
    Regards,
    Arun.S

  • Configuration path for table T5R50

    Hi,
    Is anyone able to provide me with the configuration path for T5R50?
    Thanks.

    IMG Path:      SPRO - Logistics Execution - Shipping - Basic Shipping Functions - Text Control
    Transaction: VOTXN
    Select the Delivery Header.
    Create a text procedure and add the text IDs in that.
    Assign the text procedure Assignment to the Delivery type.

  • Freebsd Java path & classpath

    Hi everybody,
    I am new to the Freebsd env, and I am having trouble with compiling java code. Below is my system configurations. Note. I am able to compile and run the Hello World program., but when I import classes into my code I get "cannot resolve symbol".
    The path and classpath are setup in the .cshrc file as I am using the csh shell.
    %which java
    /usr/local/jdk1.4.2/bin/java
    %which javac
    /usr/local/jdk1.4.2/bin/javac
    %echo $CLASSPATH
    /usr/local/jdk1.4.2/lib/tools.jar:/usr/local/jdk1.4.2/lib/dt.jar:/usr/local/jdk1.4.2/jre/lib/rt.jar:
    %echo $PATH
    /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/jdk1.4.2/bin:/usr/X11R6/bin:/home/george/bin
    set JAVA_HOME=/usr/local/jdk1.4.2
    If anyone has any suggestions they are welcome. Thanks

    I am pretty clueless on Freebsd but you might need to add .: to your Classpath or may be try to use the -classpath option in your command line:javac -classpath some_directory your_class.java

  • Variables path & classpath

    Hello
    i'm using tomcat 5.x -> 5.5.12
    and editor: Textpad
    when compiling: these are the errors:
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:3: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:4: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:11: cannot find symbol
    symbol: class HttpServlet
    public class Controller extends HttpServlet
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
    symbol : class HttpServletRequest
    location: class Controller
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
    symbol : class HttpServletResponse
    location: class Controller
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
    symbol : class ServletException
    location: class Controller
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:64: cannot find symbol
    symbol : class HttpServletResponse
    location: class Controller
    private void sendPage(HttpServletResponse reply, String s_Resultaat) throws IOException
    ^
    C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:16: cannot find symbol
    symbol : class HttpSession
    location: class Controller
    HttpSession session = request.getSession();
    ^
    .\DBConnection.java:10: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    .\DBConnection.java:11: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    10 errors
    these are my user variables:
    JAVA_HOME C:\Program Files\Java\jdk1.5.0_12
    TEMP %USERPROFILE%\Local Settings\Temp
    TMP %USERPROFILE%\Local Settings\Temp
    these are my system variables:
    CLASSPATH .;C:\Program Files\Java\jdk1.5.0_12\lib\tools.jar;apache-tomcat-5.5.23/common/lib/servlet_api.jar
    ComSpec %SystemRoot%\system32\cmd.exe
    FP_NO_HOST_CHECK NO
    NUMBER_OF_PROCESSORS 1
    OS Windows_NT
    Path C:\Program Files\Java\jdk1.5.0_12\bin;apache-tomcat-5.5.23/bin
    PATHTEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE x86
    PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 4, GenuineIntel
    PROCESSOR_LEVEL 15
    PROCESSOR_REVISION 0204
    TEMP C:\WINDOWS\TEMP
    TMP C:\WINDOWS\TEMP
    windir C:\WINDOWS
    can somebody help me?
    gr. Bastiaan
    The Netherlands

    CLASSPATH .;C:\Program Files\Java\jdk1.5.0_12\lib\tools.jar;apache-tomcat-5.5.23/common/lib/servlet_api.jarThe second part of that is unlikely to be correct unless you are in a specific directory.

  • File reading (with configurable path) in ADF?

    Hi,
    I am developing an ADF application in Jdeveloper in which a drop-down list is populated by reading from a txt file.
    Currently I am using a static path inside the code (in java bean) to read the contents. However i want to make this path configurable.
    How can i make this file path configurable in deployment plan?
    Regards,
    Komal Babar

    Dear Frank,
    if you can give more detailed explanation, that will be nice, because i got more or less same requirement.
    if we create "Resource" Directory in web content or some where, how can we access through
    FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath();
    Regards,
    Edited by: Mohan Sangapu on Aug 5, 2011 1:38 AM

  • XCM configuration path in web.xml file

    Hi,
    Here is a requirement that all the XCM configuration files are stored at local desktop(like QAT, PRD..), and need to use them by modifying web.xml.
    Please let me know at
    1)which web.xml tag the path of XCM confiuration files to be specified.
    2) specify the names of the XCM files for configuration to be put in that folder.
    Thanks,
    Devender V

    Hi,
    1)which web.xml tag the path of XCM confiuration files to be specified.
    Try to find below lines in your web.xml
    <context-param>
            <param-name>path.xcm.config.isa.sap.com</param-name>
            <param-value>/WEB-INF/xcm/sap/system/bootstrap-config.xml</param-value>
            <description>Turns the Extended Configuration Management on if a
                path to the configuration file is specified. It is a
                relative path, with context-root of web application as root</description>
        </context-param>
    bootstrap-config.xml file contains XCM configuration related XML file path. You can modify or extend this file and give your user Define path.
    Also you can find below line in web.xml file.
    <!-- Action Servlet Configuration -->
        <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>com.sap.isa.core.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/config.xml,/WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/user</param-name>
                <param-value>/WEB-INF/config_user.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/dealerlocator</param-name>
                <param-value>/WEB-INF/config_dealerlocator.xml</param-value>
            </init-param>
            <init-param>
                <param-name>initconfig</param-name>
                <param-value>/WEB-INF/xcm/sap/system/init-config.xml</param-value>
            </init-param>
    I hope this will help you.
    eCommerce Developer

  • Data Origin Configuration path in IMG for Plant Maintenance

    PM Experts,
    Could anyone tell me the path where in IMG the "Data origin configuration lies"  under Plenat maintenance and Customer services and the steps to be followed for deactivating this functionality. I do not know how this Data transfer across objects is happening..
    Is this standard SAP behavior of the system.
    Thanks in advance
    Murad

    Mishraji
    The option u said me , I tried in DEV environment but it doesnt work like that. Evry time I chnaged the FL of  an equipment, I click on the Instal with transfer button and find that the radio buttons in the screen for data transfer are not according to my previous set up but accoring to its default setting as it was. Also If I try doing the FL Change for same equipment also, evry time I do the change , the radio buttons arrrangements are the same.
    So it means we have no other way out, rather follow the selection methodof reqd fields everytime we transfer data.
    Murad Shaikh
    Thanks in advance..

  • In Pricing configuration path?

    hii
    What is the use of this configuration ??
    Explain with basic details about this in pricing with where it 'll affect in fron end easy access??
    "Determine Calculation Schema for Determination of Market Price" ????
    Thanks
    SAP-MM

    Dear MM group,
    The market price use for vendor evaluation for scoring method "Price Level"
    and "Price History". Please kindly see the SAP documentation at path below:
    Effective price and Market price are determined based on information stored
    in the info record ( condition record and market price EINE-EFFPM )
    http://help.sap.com/saphelp_470/helpdata/en/8d/b985b0414511d188fc0000e8322f96/frameset.htm
    -> MM-VM
    -> How the Systems Computes Scores
    -> Calculating Scores for Automatic Subcriteria:Overview
    => see the Part "Price Level" and "Price History" for how market
    price is used.
    Best Regards,
    Ian Wong Loke Foong

  • Path, classpath, java build path???

    I am happy with what path and classpath does but what is java build path for? could someone point me in the direction of where I can find more info?

    cool but the IDE also had a place where you could set the classpath. so is the java build path just like an extra way of setting up classes for different projects where the classpath in the IDE is used by all projects?

Maybe you are looking for