Regarding path setting

am new to java technology,
i haf downloaded jdk1.5 in my system, my OS is win XP.
the respective files are downloaded in D drive.
now i want to set path for java and make it work, like to make it compile and run the programs.
i would appreciate for the help.

1. window+PAUSE break
2. select advance tab
3. click environment variables
4. on the system variable select path then click the dit button
5. add the path of the bin and lib directory of the jdk installation folder

Similar Messages

  • Won't compile-even with correct path set up

    NEVER MIND - It helps when you don't have a typo in the application. :-(
    Please disregard this post.
    I've read the archives. I actually got everything to work fine on my desktop. I'm now trying to get the "Hello World!" application to compile on my lapttop. I am getting the standard "javac is not recognized . . ." error.
    I've checked my path set up. My javac.exe is in the bin file of the jdk1.6.0_02 folder in my C drive. I have my application in the C drive in a folder "Java"
    c:\Java>javac HelloWorldApp.java
    What am I missing? Yes, I've just started to learn this language and would appreciate all the patience and help I can get.
    Thanks,
    Gizelle
    Message was edited by:
    simplyGizelle

    Hi your classpath is not set when so you can go to the folder(bin) where
    javac.eze is and give the absolute path of the java file you want to comiple.

  • Regarding class path setting

    Hi,
    I am new to java How can i Set a class path in my sytem to run java programs and tomcat and ant .
    I declated like below in Environment varialble.
    JAVA_HOME
    c:\javasdk\jdk\jre\ext;C;\javasdk\bin;
    ANT_HOME
    c:\ant\bin;
    CATALINA_HOME
    C:\tomcat\bin;c:\tomcat\common\bin;
    when I am running the startup.bat in commandprompt the it showedd me aan error like this.
    CATALINA_HOME environment variable is not deffined correctly, this environment variable is needed to run thhis proram.
    when I am running the ANT then it showed me an error like this.
    build.xml file does not found. But i Wrote the build.xml file in ant\bin.
    Please let me know the where is sthe mistake. It is very urgent to me.

    I love all these questions that go "I'm really new to Java, so new I don't even know how to set or use a classpath. How do I get my application server to work?"
    Like a first-week med student trying a heart transplant

  • Path setting

    Hi everyone,
    Can anybody helps to answer my question?
    1. I put my class file (test.class) in the folder webapps\examples\WEB-INF\classes and it works fine for the url http://localhost:8080/examples/servlet/test. However, if I put the class file in the folder webapps\examples\WEB-INF\classes\folder, it doesn't work for the url http://localhost:8080/examples/servlet/folder/test. Do I need to set something in the conf folder or I typed the wrong url?
    2. For the jsp files, it works at the folder webapps\examples\jsp\*. If I put the jsp files in the webapps\examples\WEB-INF\jsp\*, the jsp files won't work. What's wrong also.
    Thanks.

    Hy,
    Hi everyone,
    Can anybody helps to answer my question?
    1. I put my class file (test.class) in the folder
    webapps\examples\WEB-INF\classes and it works fine for
    the url http://localhost:8080/examples/servlet/test.
    However, if I put the class file in the folder
    webapps\examples\WEB-INF\classes\folder, it doesn't
    work for the url
    http://localhost:8080/examples/servlet/folder/test. Do
    I need to set something in the conf folder or I typed
    the wrong url?For each package part in your Servlet Class, a Folder must exist.
    eg. If your Servlet has package mywork.test,
    the Path is : examples\WEB-INF\classes\mywork\test
    Your second Url assumes your Servlet has a package folder.
    Currently it seams, you haven't set one.
    If you add a package statement in your test.class, it should work.
    2. For the jsp files, it works at the folder
    webapps\examples\jsp\*. If I put the jsp files in the
    webapps\examples\WEB-INF\jsp\*, the jsp files won't
    work. What's wrong also.
    Thanks.All Content under WEB-INF is protected from calling outside of the
    Server. Files under WEB-INF are allowed to be called, eg. with
    a RequestDispatcher, but not directly with a Browser Request.
    Hope, that helps you a bit.
    Best regards
    jherunter

  • PATH setting bug?

    JDeveloper 9.0.3.1035 does not use the path environment setting on windows 2000.
    I 'm using a few java classes that depend on dlls that are on the system's search path, when running my class from the command prompt with java the class will run. Running the class from JDeveloper fails with a java.lang.UnsatisfiedLinkError.
    Any ideas?
    Regards,
    Jelco.

    Sorry, my mistake: it works but I forgot to put some classess on the project's classpath.
    Regards,
    Jelco.

  • Image path sets ( servername) instead of \\servername

    Due to a hardware meltdown I have had to rip the NW server out of the tree
    and install a new one.
    I have re-installed the server NW65sp8 and reinstalled ZENworks for Desktops
    7
    Now, When I set an imaging job on a workstation I browse to the server etc
    and set the file path.
    When I click apply or ok leave the object and go back in the path has
    changed;
    eg
    (ZFDSRVSR) USER\zenimg\ws_master.zmg
    instead of
    \\ZFDSRVSR\USER\zenimg\ws_master.zmg
    Any ideas on how I fix this?
    Manual imaging works ok. I have deleted the ws object and re imported into
    eDir
    Tom

    I have resolved this.
    >>> On 21/07/2010 at 12:54 p.m., in message
    <[email protected]>,
    Tom Cummings<[email protected]> wrote:
    > This is turning out to be serious ant not server related. I installed a
    > new
    > ZFD7 server into a new container. Setting an image path on using that
    > server reproduces the same problem.
    >
    > Help! :‑(
    >
    >
    >
    >>>> On 20/07/2010 at 9:07 AM, in message
    > <[email protected]>,
    > Tom Cummings<[email protected]> wrote:
    >> Due to a hardware meltdown I have had to rip the NW server out of the
    >> tree
    >> and install a new one.
    >>
    >> I have re‑installed the server NW65sp8 and reinstalled ZENworks for
    >> Desktops
    >> 7
    >>
    >> Now, When I set an imaging job on a workstation I browse to the server
    >> etc
    >> and set the file path.
    >>
    >> When I click apply or ok leave the object and go back in the path has
    >> changed;
    >>
    >> eg
    >>
    >> (ZFDSRVSR) USER\zenimg\ws_master.zmg
    >>
    >> instead of
    >>
    >> \\ZFDSRVSR\USER\zenimg\ws_master.zmg
    >>
    >> Any ideas on how I fix this?
    >>
    >> Manual imaging works ok. I have deleted the ws object and re imported
    >> into
    >> eDir
    >>
    >> Tom

  • How is system PATH set in Solaris 10?

    When I issue "echo $PATH" after starting bash shell, default system paths are displayed. I noticed there is no *.bashrc* file anywhere on the system. Then from which script(s) and in what order are these paths get set?

    bobthesungeek76036 wrote:
    Probably a combination of /etc/default/login and /etc/profile.Today I confirmed. /etc/profile does not set the PATH. /etc/default/login sets only /usr/bin for all users and /usr/sbin for root. But my initial PATH variable contains other paths, too. It essentially means there is some other startup script(s) which influences PATH variable. Moreover, if I create /.bashrc and set the PATH, it overrides the system default path.

  • % opatch apply   $PATH set question

    # % cd 5496862
    # Ensure that the directory containing the opatch script appears in
    # your $PATH;
    % opatch apply
    How i can setup this $PATH? what's the command, ORACLE_HOME & PATH are already set as
    export ORACLE_HOME=/oracle/product/9.2.0.8
    export PATH=$ORACLE_HOME/bin:$PATH

    Put the script somewhere in the existing path. For example at $HOME.

  • Redlining LAYER file .cgm Path Setting

    Dear All,
    Whenever i create & save redlining on AutoCAD Drawing in ECC 6.0(ERP 2005), it make a file with .cgm extension on my local system at following default path "C:\DOCUMENT AND SETTINGS", Is there a way that i can change that storage location to other path(e.g. C:\SapWorkDir\Acad)....If there is any configuration please reply me......
    Waiting for your reply
    Thanking You,
    TUSHAR DAVE

    Hi Dave,
    you can change the path by maintaining another path for the used frontend type in
    transaction DC20. Here you can maintain a specific path for each frontend type which is used to create a temporary copy or a cgm layer file, when you display an original.
    Best regards,
    Christoph

  • Issue for Oracle Path Set 10.2.0.4.0 installation

    Hello
    SAP: ECC6 SR3
    DB: Oracle 10g
    OS: RHEL5_x86_64
    I'm facing a issue during Oracle Patch set 10.2.0.4.0 application
    - Runinstall start but after 1% installation receive following error message.
    INFO: Exception thrown from action: copyGroupFromJar
    Exception Name: IOException2
    Exception String: Error in writing to file '/oracle/DEV/102_64/jdk/bin/java'. [/oracle/DEV/102_64/jdk/bin/java (Text file busy)]
    Exception Severity: 2
    Thanks for your support
    Regards
    Eric

    Hi Eric,
    Including the other suggestions, rename the file '/oracle/DEV/102_64/jdk/bin/java' to '/oracle/DEV/102_64/jdk/bin/java.1' then restart the installation.
    Best regards,
    Orkun Gedik

  • LoadLibrary doesn't use java.library.path set at runtime

    I'm trying to set the property java.library.path at runtime so I don't have to drop my .dll in the regular system path for a System.loadLibrary to work. This is the sequence I use in a static initilizer:
    System.setProperty("java.library.path", "C:\\");
    System.loadLibrary("DialButton");
    When I put the file DialButton.dll in C:\ I get an java.lang.UnsatisfiedLinkError, but when I put it in D:\WINNT it works fine. I would expect it to do the opposite because presumably I blew away the real java.library.path when I ran setProperty and it shouldn't know to check D:\WINNT.
    I'm trying to keep my application install clean and use a directory structure that maintains all of the required files without cluttering system directories. I also want to dynamically load JNI libraries for a distributed application after copying them to the local machine.
    Thanks in advance,
    Ryan

    In the bug parade I've heard excuses from Sun programmers that this is a read-only property and isn't supposed to be changed. It probably took them longer to write the reply to the bug than it would have to fix the code.
    I looked at the source code for the ClassLoader and for the source release of the JDK 1.3.1 and here's the code I found in the ClassLoader.loadLibrary() method:
            if (sys_paths == null) {
                    usr_paths = initializePath("java.library.path");
                    sys_paths = initializePath("sun.boot.library.path");
            }It seems it parses and caches the system and user library paths on startup and then never bothers to check them to see if they've changed ever again. I think it would be pretty simple to rewrite that code block by moving one line of code down two lines as this:
            if (sys_paths == null) {
                    sys_paths = initializePath("sun.boot.library.path");
            usr_paths = initializePath("java.library.path");I mean, it's not as if loadLibrary is really performance intensive or even critical enough to bother caching at all!
    This one code change could fix a lot of headaches.
    The particular headache I'm working on is that there doesn't seem to be any support in the Servlet 2.2 or 2.3 specification for JNI files. I'd really love to be able to use a directory like WEB-INF\jni to store libraries that need to be distributed with my web application. I tried to dynamically change java.library.path to include WEB-INF\jni, but alas I ran into the same problem you did, it doesn't work.
    Is is possible for this to be fixed, ever? I think it would take longer to say no and make up a reason why not then it would to actually make the fix... seems a good enough arguement to do it to me.
    And alternately, can we come up with a standard place to put JNI stuff for web applications in the next Servlet standards?
    Thanks in advance!
    -J.C.
    [email protected]

  • Regarding attribute set

    Hi experts,
    I have attribute name (CRM-Markrting-Attribute Name ) from Table CABN , i want to get corressponding Attribute Set.
    please specify the table or FM for this.
    thanks and regards
    Subba.

    Hi,
      Can u check with FM" CRM_MKTBP_CHANGE_BP "
    This is for Business partner.
    Also check out function moduels in function group
    CRM_MKTBP_DB. This contains many FM to read/assign marketing attribute set to BP.
    Regards.

  • Regarding parameter setting

    Dear guys,
    Can anybody help me this problem..
    Actually i want every viewer end user to have empty parameter display in viewer page..so that each user will select parameter item from LOV as per their need.
    But once if i set in discover plus,that always display in all viewer users..
    I want each user should have new parameter item settings..
    I want preference for specific users to work with the worksheet.can any body suggest me..
    regards
    chandra

    If your application uses more than one database account (eg, all objects are owned by account "A" but accounts "B", "C" and "D" are used by users/application code), then you could have seperate Temporary Tablespaces for each of the accounts. You could also spread application usage across the two instances.
    This makes sense where you have a common database but supporting more than one set of users or more than 1 application. Thus, each set of users or each application is a seperate database account, using it's own Temporary Tablespace from it's own Database Instance.

  • PATH Setting using Runtime.exec() on a UNIX env?

    Hi,
    How do we set the PATH using Runtime.exec() on a UNIX Env?
    I've tried the 'export' command and 'setenv' command but it throws an exception saying 'export' and 'setenv' not found.
    objProcess = Runtime.getRuntime().exec("setenv PATH /opt/ibm/java2-x86_64-50/bin");+
    Please suggest.
    Thanks,
    Tanu

    Your experimenting with the stuff could shed light on the question, whether the outcome is influenced by the relying of the started process on elements of the starting environment other than PATH.
    String[] envp=new String[1];
    envp[0]="PATH=/jdk1.5/bin";
    Runtime rt=Runtime.getRuntime();
    Process proc=rt.exec("java Test",envp);

  • Regarding SSO setting

    hi all,
    Can you suggest me how to make SSO setting for IDM,EP and ABAP?
    Do we need to make SSO setting for below combination of systems.
    1) IDM - EP
    2) IDM - ABAP
    3) EP - ABAP
    or SSO setting for Just IDM -EP and IDM- ABAP is enough
    please confirm.
    regards

    >
    Bastian Kromer wrote:
    > usually your IDM will be configured to manage identities of the EP and your ABAP Systems. Then you can use SSO for the Portal itself (mostly by using Kerberos authentification);
    yes, I agree. Using Kerberos authentication allows Active Directory domain to be used as authentication server.
    > and SSO for ABAP Systems by enabling ticket (certification-) exchange from EP to the ABAP backend.
    If you want SSO for SAP GUI logon to ABAP systems, then SSO2 ticket trust for SSO is not sufficient. Instead, a lot of companies configure SNC authentication to ABAP systems, also using Kerberos - then the user logged onto workstation is authenticated to ABAP systems as well as Poral and other web enabled SAP applications. Obviously, if your Portal application communicates with ABAP system then SSO2 ticket trust method is also required.

Maybe you are looking for

  • Link between SD invoice item and corresponding accounting document item

    Hi, I have a problem regarding the link between the items of an SD invoice ( or credit note ) and those of the corresponding accounting document. There's a custom report which extracts information about each credit/debit note produced within a certai

  • Is there a way to vary the speed of playback for a podcast on my desktop iTunes?

    I love listening to my podcasts at 2x speed on my iPhone- is there some reason iTunes won't let me do this on my desktop?  Windows Media Player does it, but it screws up other things.  If Itunes won't do it, is there some other software that will? It

  • Adding a new field to an existing BDoc.

    I posted this message in other forum, but I think the correct one is this. I need to add a new field to bdoc BUS_TRANSACTION_MESSAGE, so I've added a field to structure BAD_BUS_TRANSN_MESSAGE, to the substructure PRODUCT_I. What I need to know is how

  • How do I remove Outlook 2013 profile that refers to Exchange Server 2003, Outlook won't start

    I have Office 2013 Pro preinstalled on my new Windows 8.1 (64bit) machine. I am on a domain with a Small Business Server 2003.  The server has Exchange 2003 installed on it but I've never used it. I use Google Apps for Business for my email.  I click

  • No Audio on finished DVD

    I created a movie with iMovie. After creating a DVD menu using iDVD, there is no audio when playing the DVD. I've tried everything the doc below mentions. http://docs.info.apple.com/article.html?artnum=303550 I already have iDVD 6.0.2. The article sa