Set the path and class path in windows xp professional

hi guys....could any one tell me step by step on how to set the path and classpath on windows xp professioanl? This is my path and classpath
set path = %path%;C:\jdk1.3.1_02\bin;c:\JOpen672.jar;c:\
set CLASSPATH = c:\j2sdkee1.3.1\lib\j2ee.jar;c:\JOpen672.Jar;c:\;c:\postgresql.jar;c:\jai_core.jar
not working please help me on this thanks alot.
novicepro

Below is a Helloworld program, copy and paste it into your editor and save it as "HelloWorld.java" Use capitalization, Java is case-sensitive. If you're using Notepad, quote the name when saving, otherwise Notepad adds ".txt" to the name. Go to DOS and check that you've got the file where you want it and that it's named correctly.
----------program HelloWorld.java--------------
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World!");
In the same directory as HelloWorld.java, enter "javac" - the program should print out a list of options, if not, set your PATH - see below.
In the same directory as HelloWorld.java, enter "javac HelloWorld.java" and the javac compiler will create HelloWorld.class. If it was successful it will not give any messages. Check that the file is created.
In the same directory as HelloWorld.java, enter "java -cp . HelloWorld" with the spaces and the period. The program will run.
Here is additional information:
The Path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
http://java.sun.com/j2se/1.4/install-windows.html
Scroll down to: 5. Update the PATH variable
(you should have already done this as part of the s/w installation)
The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
Setting the Classpath:
http://java.sun.com/j2se/1.4/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/docs/tooldocs/findingclasses.html
Examples:
This is my path
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.0_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.0_1\lib\tools.jar;C:\NetRexx\NrxRedBk

Similar Messages

  • Setting path and class path help

    I am a complete beginner who is currently starting a cd based tutorial!I have downloaded jdk1.1.6 which is the nearest developement kit to the one used in the tutorial.I use windows 98.When I try to set my path or class path as instructed in the docs, I cannot find any thing in the autoexec file at all.I have opened using notepad/Run and DOS edit but all three open an empty file.Where will I need to set up the path and class paths.My system must run these from somewhere else perhaps due to an update.

    Hi,
    Put the following statements in your autoexec.bat.
    <homepath> = Path of your JDK folder on the drive. e.g. c:\jdk
    SET CLASSPATH=;.;<homepath>\lib\tools.jar; .... continue with other jar files on the same line and seperate the entries by a semicolon.
    SET PATH=C:\WINDOWS\;C:\<homepath>\BIN\;
    This autoexec.bat must be on c:\. i.e. U can open it in notepad by giving c:\autoexec.bat in the File Open Dialog. It is possible for this file to be empty. Simply add the commands on the last line.
    Regards ,
    Karan

  • How to set the date and time format from Windows Server 2008 R2

    Hi,
    I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
    Yoshika04

    Hi,
    In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
    time format. For more information, please refer to:
    Regional Options Extension
    http://technet.microsoft.com/en-us/library/cc754496.aspx
    Regards,
    Bruce

  • WAR, MANIFEST.MF and class-path to jars

    Hello,
    I have a WAR shared library shared.mylib consisting of a series of JARs in a WAR:
    /WEB-META/
    MANIFEST.MF
    /WEB-INF/
    lib/
    lib1.jar
    lib2,jar
    in the MANIFEST.MF I don't need to specify any Class-Path, since lib/ is considered by default and classes are loaded.
    However I need a way to load classes from other directories in the WAR (without specifiying each jar if possible).
    I have tried all the possibilities with Class-Path in the MANIFEST, but nothing works. Suppose you have /mylibs/ with many jars other than the default /lib.
    What should I have to do to make weblogic load all the claasses in the jars under /mylibs ?
    Thanks.

    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html

  • What is the diff b/w Conventional Path and Direct Path?

    What is the diff b/w Conventional Path and Direct Path?
    While doing exp/imp
    which one is best in peroformance Conventional Or Direct
    consider my Oracle is 9i (9.2.0) and Os is Solaris 9
    Could you please clarify.....
    Thanks

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1005685

  • How to set the width and heigh in the popup window

    Hi All,
    I tried to show a report in a popup window style.
    In the column link section, I defined the URL like the following:
    javascript:popupURL('f?p=&APP_ID.:128:&SESSION.::&DEBUG.::P128_PAY_RATE,P128_PAY_TERMS:#PAY_RATE#,#PAY_TERMS#'). how and where to set the height and width for page 128?
    Thank you,
    spark

    Here is a sample of the JavaScript function I re-use that opens a popup window. You'll notice that it includes the width and height of the popup window:
      function callTCPopup (formItem1) {
        var formVal1 = formItem1;
         var url;
      url = 'f?p=&APP_ID.:1111:&APP_SESSION.::::P1111_TC_ID:' + formVal1;
      w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
      if (w.opener == null)
      w.opener = self;
      w.focus();
      }You could also look at using a Modal Page (Skillbuilders' plugin - watch the video for use).

  • Set the height and width of a new browser window

    I am trying to open a new browser window when the user clicks
    on an audio. The audio will be played in the new browser window.
    The only problem I have is that I cannot set the height and width
    of the new browser window. I need the window to be much smaller.
    How can I do this in flash?

    You need to ask on a JavaScript forum. Java != JavaScript

  • Please help me :How to set the width and height for my View page "test.htm"

    Hi,
        I have controller class. When i call the view[test.htm]from this controller class ,i am getting the view with output tableview..it is fine.
    My requirement:
                 the output view window is showing full browser window. I want the view output like showModeldialog. I want to set the width and height for the output view window. How is possible?
                 or
    i want to call the test.view in the window.showModelDialog..
    Please help me .. Urgent requirement.

    Yes you can set the width & Height of the view as follows..
    <div style="width:580px; height:750px; margin-top:15px; overflow:auto;">
    <htmb:form......>
    </htmlb:form>
    </div>
    <i>*Reward each useful answer</i>
    Raja T

  • Setting the Top and Left properties during runtime, depending on...

    hi guys,
    it's me again with the same question, but same scenario...
    but probably with a bit clearer detail now...
    actually, what i wanna do is that although i have set the top and left properties at design time, as soon as the page opens i wanna be able to do the following:
    if ( userlevel == 1 ) {
    textfield1.setStyle("top: 100...");
    } else if ( userlevel == 2 ) {
    textfield1.setStyle("top: 500...");
    thanks for your time =)

    The style properties CAN be set in the prerender call. Unfortunately, the requirement is that the component (text field in your case) has to have an unset property in the Design->properties window. (Or in the actual jsp code, which should be identical).
    My main issue with this is SJC2's handling of this in the visual window. If i want to have a lot of components that are designed before run-time but placed during run-time, they all are a mess on the screen. I wish there was another property (in the properties window) that would be a checkbox, like "Use static layout". I, probably like others, am using a layout panel (grid) that has several other components in there. I want to be able to move this set of components at run-time, but to do so, I need to unset the layout panel's style. This causes my inside components to shift to the top left of my page, making a mess in the design window.
    If any SJC developers are out there, please help! It would be great to somehow mitigate the static/dynamic properties/display issue. (Like, i want to have buttons with dynamic names (for localization), but basically, i have to have a bunch of blank buttons/text on the screen for all my pages because of the static requirement. At least, MyEclipse and others will put the id value if the text/label value is blank.
    Chris

  • How to set the ComputerName and Domain of my IPDA?

    Hey guys,
    When I use my PC(windows 7) to connect WIFI in our company, I have to set the ComputerName and Domain of my PC so that I can surf the internet. But I can't find the same settings in my IPAD. Although I can connect WIFI of my company, but I can't surf the internet now.
    How can I set the ComputerName and Domain of my IPDA?
    Thanks for the help!
    whvovi

    Start Menu->Right click Computer->Property->Advanced System Settings->Computer Name->Change
    At this place, I can specify my ComputerName, Domain and Workgroup.
    But I can't find these settings on IPAD.

  • How to set the gain and input coupling for each channel on a NI 4462 DaQ card?

    I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain.  Also the same problem with input coupling
    Does anyone know how to set the gain and input coupling for each individual channel?
    Thanks,
    Hector
    LabView 8.5 Windows XP

    Hey Hector,
    http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
    This has a few examples of how to do that.  Let me know if you have further questions.
    Have fun!
    -gaving

  • I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining. so i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password.

    I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining.
    So i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password please.
    I am currently in safe mode, otherwise I can't log on to mymac
    Please help, anyone

    thank you to all who responded. the final line was that I had to reboot and loss all of my info.
    this was per apple store intelligence.

  • I got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    i got a new ipad and went buy music on iTunes and in is telling me that this is a new device on this account and wants me to answer some security questions I dont remember setting thes up and dont know the answers how do i reset the security questions

    Click here and search the article for '2 out of 3' without the quotes; this generally involves either a message being sent to your rescue email address or contacting the iTunes Store staff directly.
    (74313)

  • On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen

    On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen. The setting is on automatic and I have picked a city in my time zone yet it still tries to set a time and date but fails.
    thanks

    Make sure router is up to date. Try ethernet to rule out any wifi issues. Reboot ATV and router.

  • How to set the size and position of JFrame

    hey all,
    i have a frame and i devide the frame into three panels, i want to make the top panel the lergest and make it square. and the rest two panels in small and in the bottom of the frame.
    could you please help me to set the size and position of the jpanel
    Thanks

    If u want the bottom 2 panels to be on the same level, u can try setting ur content pane to use the BorderLayout and the adding the 3 panels to it with BorderLayout.NORTH(for the TOP panel), BorderLayout.EAST(RIGHT panel) and BorderLayout.WEST(for LEFT panel).
    Don't know if this is what ur looking for, maybe u could describe more on ur layout with a sample image or something?

Maybe you are looking for

  • High Resolution Mode no longer works with new vers...

    For years I used Skype in high res mode (1280X720) with auto answer to look at the veiw from may vacation house window. This worked great. The picture quality was terrific and the connection was always stable. However, after I upgraded the Skype vers

  • Line across top of ipod classic

    I have a new ipod classic 80Gb, and tonight I accidentally dropped it onto a hard surface. Now there's a thin white line across the top of the screen, like a whole line of pixels are missing. It doesn't go away after resetting. Is this permanent dama

  • Show ip bgp not showing all BGP Paths

    Hi, We've setup BGP as shown in the diagram. Now Router Router A and B are peers of each other. Router A peers with ISP A and Router B peers with Router B. The issue we have is that Router B knows how to get to router C via eBGP connection to ISP B r

  • Having problems since latest 10.5.7 update: com.apple.doc "Bus error"

    Hello, Since this morning, after installing the latest Mac OS updates, my Mac has been really slow, and the dock never appears. My console messages keep printing the following message: com.apple.launchd[83] ([0x0-0x18a18a].com.apple.dock[929]) Exited

  • Blue Screen Result When Installing To External Firewire Drive

    I can't afford to have problems with programs not running on Leopard on my 17" G4 1.67 GHz 2 GB RAM PowerBook so I am trying to install it on an external Firewire drive. I was hoping to test out Leopard with certain applications by running it from th