Classpath and Path in Win2k Server

Hi
My OS is windows 2000 Server
I installed Jdk 1.3.x Version.
Do I need to set path and class path to my system to run sql package files...
What shalll i include in my path and in class path.
If any one having idea, please help me.
Thanks in advance
Yours
Rajesh

Dear dewangs,
Thankyou VeryMuch
Do I have to keep tools.jar file in my path or else in my class path ?
Thanks in advance
Yours
Rajesh

Similar Messages

  • Problems in Classpath and Path 's variables setting in Windows XP

    Here is my drive structure in my PC:
    1. hard drive (primary slave, Partition: C and E where E boot Windows XP
    2. Hard drive 2 (Primary Master), Drive letter: D
    Although my default boot directory is E (for strange reason, i like to keep
    that way for now), I installed other programs in C and D drive dues drive
    space factors.
    So My java sdk1.4.2_02 has been installed in C:\Java_home directory, the
    following is my Classpath and Path values:
    (CLASSPATH Variables)
    Classpath=.;
    c:\java_home\j2sdk1.4.2_02;
    e:\Program Files\java\j2re1.4.2_02;c:\java_home; c:\java_home\j2sdk1.4.2_01
    \lib;e:\Program Files\java; e:\Program Files\java web start;c:\java_home\j2
    sdk1.4.2_02\jre\lib;c:\java_home\java\petstore1.3.2\src\lib\jst1;
    (PATH variables)
    c:\java_home\j2sdk1.4.2_01\bin;C:\java_home;e:\Pr
    ogram Files\java;c:\java_home\jdk1.4.2_2\bin;E:\Program Files\Oracle\jre\1.
    1.8\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32\WBEM;E:\
    Program Files\Support Tools\;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    Path=D:\oracle\ora92\bin;E:\Program Files\Oracle\jre\1.3.1\bin;
    My Fruit txt and Fruit.java file is located in my c:\java_home folder
    when I try to compile the my file as <c:\java_home\javadoc Fruit.java), it
    gives me the error message<'javac' is not recognized as an internal or
    external command,operable program or batch file.>
    however, I can compile the Fruit file from C:\java_home\jdk1.4.2_2
    \bin\javadoc Fruit.java; with out any problem of course I have to copy the
    Fruit.java file at the C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java
    folder.
    I am requesting u please help or advise me to correct my mistakes
    Ely
    [email protected]

    I must confess that I am totally unable to understand what your PATH is set to. The error that you see,
    <'javac' is not recognized as an internal or external command,operable program or batch file.>
    is due to a missing or incorrectly set PATH. It is used by Windows to find executable file (like javac.exe) that you have added to the computer. Item #5 on this page gives you instructions on how to set it: http://java.sun.com/j2se/1.4.2/install-windows.html
    As for the setting of the CLASSPATH, you seem to have a number of different versions of java (1.4.2_02, 1.4.2_01, 1.4.2_2, and 1.1.8) and I doubt that these are all valid. You are also using an unusual syntax C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java and I wonder if that is really C:\java_home\jdk1.4.2_2\bin\javadoc\Fruit.java? I think the best action is to point you to Sun's instructions and information about setting and using the CLASSPATH.
    The CLASSPATH is a set of pointers that is used by Java to find the files that YOU (not Java) create and want compiled and/or run.
    Setting the Classpath:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
    Examples:
    This is my path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    This is my classpath
    CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\NetRexx\NrxRedBk

  • Setting Classpath and Path on Windows ME

    Hi..How do I set up the classpath and path on windows ME. Do I use DOS or run the autoexec.bat from windows directly. I have jdk1.3.1 abd my classpath and path are:
    set classpath="C:\jdk1.3.1\bin"
    set PATH=C:\windows\xxxx\;C:\jdk1.3.1\bin
    I sometimes can't compile my programs from other directories other than jdk1.3.1\bin. Why? Is there a way I can compile my program just from the C:\ directory like:
    C:\javac myprogram.java
    C:\java myprogram
    Thanks.

    If you put . in the beginning of your classpath, java always searches the folder you are currently in.
    Now to set the classpath try clicking from the startmenu:
    settings/control panel/system. Then click advanced tab and then the Enviroment variables. I'm on win2000 but I think it should be the same on ME.
    Make sure it starts with .;C:\jdk1.3.1\bin;....
    I think installing jdk puts in the essentials, but if you have certain folders you store your classes in you can stick those in there as well.
    If you hava more questions about this, I suggest searching these forums on Keywords like : "set CLASSPATH PATH". Then you'll find a bunch of threads solving this problem.
    Sjur

  • Setting CLASSPATH and PATH properly how?

    I have set PATH=c:\jdk_install_directory\bin which works fine. However, for example when I create an app or small program for example, simply to print out a line on the screen, it works when I compile in NetBeans. However, if I copy the java file to another directory, my C: root for example, I can compile it, but when I run the class file it gives me errors saying it can't find certain classes. So, I figure its something with the classpath variable that I have to fix. How can I do this properly for both J2SE and J2EE using default install directories for each.
    Thanks so much!!

    Your PATH is exactly what it should be.
    The CLASSPATH answer depends on where you're compiling and running.
    If you're doing things on the command line, I think the right answer is to use the -classpath option on javac.exe and java.exe.
    If you're using NetBeans or another IDE, the right answer is to add JARs and paths according to the idiom demanded by the IDE. Each one is different, and all the ones I know of ignore the system CLASSPATH environment variable. I don't have one set on my machine.

  • Classpath and path of jdkjdk-1_5_0_09

    hi
    i have installed c:\progrmaefiles\java\ jdk-1_5_0_09 on my pc but i m not able set systemenvironment variable like PATH and CLASSPATH .i tried lot of option but it does not work so plz anyone help me out.i m using windows Xp operating system. when i m running any java programe i m getting error " Exception in thread "main" java.lang.NoClass.DefFoundError.plz hep me out.
    thx manu

    That's CLASSPATH, not PATH.
    Without seeing your exact directory structure and the exact command you're runing, nobody can give you specific advice. Here are some explanations of how it works, though.
    Javapedia: Classpath
    How Classes are Found
    Setting the class path (Windows)
    Setting the class path (Solaris/Linux)
    Understanding the Java ClassLoader
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
    javac -classpath .;<any additional jar files or directories> YourClassName.javaYou get a "cannot resolve symbol" message because the compiler can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • How to set the classpath and path from the jsp to call  java class function

    Hi Exprets,
    I have a requirement to call a java class function which returns a hashmap object from the jsp. The java class in present in one jar file and that jar file is location somewhere in unix path. So the requirement is to set the classpath for that jar file and then create the object of the java class and then call the function.
    If any one know how to achieve it, please reply as soon as possible.
    thanks in advance,
    swapna soni.

    It is never advisable to store large data sets in the session. But it will depend on a lot of factors:
    1. How costly is the query retrieving the data from the database?
    If it's a complex query with lots of joins and stuff, then it will be better to store it in the session as processing the query each time will take a lot of time and will decrease performance. On the other hand if the query is simple then it's advisable not to store it in the session, and fetch it each time.
    2. Are there chances for the data to become stale within a session?
    In this case storing the data is session will mean holding the stale data till the user session lasts which is not right.
    3. How many data sets does the session already holds?
    If there are large no. of data sets already present in the session, then it's strictly not advisable to store the data in the session.
    4. Does the server employ some kind of caching mechanism?
    Using session cache can definitely improve performance.
    You will have to figure out, what is the best way analyzing all the factors and which would be best in the situation. As per my knowledge, session is the only place where session specific data can be stored.
    Also, another thing, if the data set retrieved is some kind of data to be displayed in reports, then it would be better to use a pagination query, which will retrieve only the specific no. of rows at a time. A navigation provided in the UI will retrieve the next/previous data set to display.
    Thanks,
    Shakti

  • Post jDev 903 cleanup: Classpath and Path.

    Having installed the new [complete set] 9.0.3 and having decided NOT use 9.0.2 or other developer suite tools, it's time to clean up my path and classpath settings.
    Please help me sort it all out. Thanks.
    Per instructions I did not install the new 9.0.3 into any existing oracle_home. The home_dir for the 9.0.2 and complete suite is: E:\Programs\OraDevSuite.
    My Classpath has three entries: (formatted for easy reading on the forum.)
    CLASSPATH=
    E:\Programs\OraDevSuite\jlib\bigraphbean.jar;
    E:\Programs\OraDevSuite\jlib\LW_PfjBean.jar;
    E:\Programs\OraDevSuite\jlib\bigraphbean-nls.zip
    Questions: 1. Can (Should) I throw these out? 2. Do I need anything else in the classpath? (The java command line uses the -classpath parameter anyhow.)
    Here are the PATH settings (in the order maintained by the os). This really needs to be cleaned up. I have added my question on each line. Sounds like alot of questions but many are the same type.
    Path=
    E:\Programs\OraDevSuite\bin; (Old suite: Good-bye?)
    E:\Programs\OraDevSuite\jdk\jre\bin; (Old suite: Good-bye?)
    E:\Programs\OraDevSuite\jdk\jre\bin\classic; (Old suite: Good-bye?)
    E:\Programs\OraDevSuite\jdk\jre\bin\classic; (Old suite: Good-bye?)
    E:\Programs\OraDevSuite\jlib; (Old suite: Good-bye?)
    E:\Programs\OraDevSuite\bin; (Old suite: Good-bye?)
    E:\ORACLE\bin; ( How do I verify if this is needed by 9iDB or OEM?)
    C:\Program Files\Oracle\jre\1.3.1\bin; ( Since 9.0.3 comes with its own can I REMOVE this FROM THE DISK? )
    C:\Program Files\Oracle\jre\1.1.8\bin; ( Can I remove this from the disk? )
    C:\WINDOWS\system32;
    C:\WINDOWS;
    C:\My Programs\Java\sdk1_3\bin; ( Can I remove this from my disk? )
    **********THANK YOU!**************
    -Nat

    If you downloaded the full version of 9.0.3 Dev Preview (the 160MB sized-one), then it's completely self-contained. Just unzip it and go. Anything else can be removed.
    If you downloaded the "base" version, then you'll need to keep a JDK 1.3 around and edit your .\jdev\bin\jdev.conf file to SetJavaHome to point at your JDK home location.

  • Problem in setting CLASSPATH and PATH

    I am a newbie in java. I downloaded and run the "j2eesdk-1_4_01-windows.exe" from Internet. By default, it creates a new user variable, which is "PATH = C:\Sun\AppServer\bin". My problem is when I try to compile a java, I get an error message, which is
    'javac' is not recognized as an internal or external command,
    operable program or batch file.
    I create a new user variable which is "CLASSPATH = .;C:\Sun\AppServer\jdk\bin"
    and add new variable into my system variable, which is
    "PATH = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Sun\AppServer\jdk\lib"
    However, it doesn't work and give the same error message. Any idea about the solution?
    Thanks in advanced.

    Your PATH variable needs to include the path to the J2SE SDK bin directory. It looks like you added it to your CLASSPATH instead

  • Question on classpath  and path

    path=.;D:\j2sdk1.4.2_04\bin;D:\j2sdk1.4.2_04\tomcat4.1\bin
    classpath=.;D:\j2sdk1.4.2_04\bin;D:\j2sdk1.4.2_04\tomcat4.1\common\lib\servlet.jar
    it work well in J2SE but doesn't work well in servlet
    what's wrong?

    I am sorry but **
    D:\javatest>javac -classpath D:\j2sdk1.4.2_04\Tomcat4.1\common\lib\servlet.jar h
    ello.java
    hello.java:6: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    hello.java:7: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    hello.java:14: cannot resolve symbol
    symbol  : class HttpServlet
    location: class com.seriousJavaProject.servlets.Hello
    public class Hello  extends HttpServlet {
                                ^
    hello.java:16: cannot resolve symbol
    symbol  : class HttpServletRequest
    location: class com.seriousJavaProject.servlets.Hello
    public void service(HttpServletRequest request,HttpServletResponse response) th
    rows IOException ,ServletException
                         ^
    hello.java:16: cannot resolve symbol
    symbol  : class HttpServletResponse
    location: class com.seriousJavaProject.servlets.Hello
    public void service(HttpServletRequest request,HttpServletResponse response) th
    rows IOException ,ServletException
                                                    ^
    hello.java:16: cannot resolve symbol
    symbol  : class ServletException
    location: class com.seriousJavaProject.servlets.Hello
    public void service(HttpServletRequest request,HttpServletResponse response) th
    rows IOException ,ServletException
                      ^
    6 errors

  • SETUP.EXE never initializes on WIN2K Server

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name - WIN2k Server
    - Filename - setup.exe
    - Date/Time - 9/25/02
    - Browser + Version -IE5
    - O/S + Version
    - Error Msg
    setup.exe just never initialzes. I get the hour glass, then it goes away. I have JRE 1.3.1 installed. I have C:\Program Files\JavaSoft\JRE\1.3.1_04\bin in my classpath and path.
    HELP

    I have the same problem with Oracle 8i on W2K workstation.
    I double-click on setup and the hourglass appears for a bit and then it goes away with nothing happening.
    the process named 'jrew' runs for a bit and then exits.

  • Adding redirect path and  pattern in Lion server for configuring software update server

    Adding redirect path and  pattern in Lion server for configuring software update server.Any changes

    Ok, after days of browsing on the forum I found the following hint on another discussion related to AFP access:
    "This may be a service ACL issue.
    It turns out one of the latest Apple updates turned on Service ACL's which caused AFP connections to be  blocked. Once I fixed the Service ACL in Server Admin... all connections and Single Sign On worked."
    Well, after allowing access to all services to all users with Server Admin, we were finally able to log in the server with our admin account...
    So, there must have been an update that turned on ACL's which caused even our local access, probably for OD/Kerberos, on the server to be restricted.

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • Win2K Server and Reports Server 3

    Does the following Combination will work?
    OS - Win2K Server
    Reports Server - ver 3.0
    Reports - ver 3.0
    Database - Oracle v8.1.6
    We are trying to upgrade our servers to Win2K from NT which unfortunately is running Oracle 8.0.6 with Reports Server 3.0 and Oracle Reports 3. We are planning of converting the OS and database only without upgrading the reports (due to lack of staff resources).
    My question is the above combination will work? Will Reports Server 3.0 run on Win2K? If yes, how do we set it up. We tried creating the Oracle Reports Server service but won't run.
    Any advise or pointing us in the right direction is very much appreciated.
    Thanks.

    Hi,
    Since Oracle Reports 3.0 has long been de-supported, this combination is not officially supported. I would recommend looking at migrating to Reports 10g:
    http://www.oracle.com/technology/products/reports/migration/index.html
    However, not sure if someone is using this combination currently in production environment.
    Navneet.

  • How to set classpath and server configuration in eclipse

    i am new to eclipse tool pls anyone tell me to set classpath and serverconfiguration (tomcat) and sample program

    Get WTP [1], install it [2] and checkout one of the lot Eclipse WTP tutorials [3].
    [1] http://www.eclipse.org/webtools/
    [2] http://ftp.osuosl.org/pub/eclipse/technology/phoenix/demos/install-wtp/install-wtp.html
    [3] http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

  • Classpath and manifest.mf

    what is the difference between classpath, buildpath and a Manifest.mf paths?
    I believe class path is used at run time to look for the classes referred in this path.
    Build path is used to build the application i.e. to link the components used while compiling and building classes.
    Manifest.MF is also used for runtime resolution.
    What different purpose did classpath and manifest.mf serve?

    If I understand you correctly, this is more of a general Java Question then a Java Servlet Question... but anyway...
    The manifest.mf is defined for JARs. Your system CLASSPATH, and the classpath set on the command line are ignored for JARs, and only the CLASSPATH set in the manifest is used.
    When running applications outside of JARs, then the system/command line CLASSPATH is used.
    When running a web application inside a WAR, the server has its own classpath which will override that of the manifest and the system CLASSPATH.

Maybe you are looking for

  • Help out:SQL Assistant for oracle

    Any time i use the logminer utility from the SQLaps SQL Assistant for oracle to query either my redo or archive logs i get this error, but the dictionary.txt file exist in the location specified; Please help out with details on how to solve this erro

  • How do I create a formula that automatically adds time to cells?

    ie: A1 is 10:00:00, A2 is+ :30 sec, A3 is +:30 and have if fill down. Thanks, JJ

  • Time Dependent Collect Pattern BPM

    Hi, I need to collect messages during certain time interval using BPM in my scenario. I have used the exactly same pattern as given in SAP BASIS 7.0 SWC under namespace http://sap.com/xi/XI/System/Patterns with name  BpmPatternCollectTime. The proble

  • Invoke process from string value

    Hi all, I am trying to create a monitoring process that should monitor a mailbox. This monitoring process should look in the subject of the individual mails and by the subject determine which action to take (which underlying process) that should be i

  • Ovi suite 3.1.1.85 software update problem

    Hi! I've got a problem with software update. All the time when I want to make an update ovi displays message "A new software to manage your phone was downloaded, you must reboot your computer". I rebooted it a few times but nothing changes reinstalle