Setting up the windows variable

Hello i need the first step, how do i set up my windows variable so i can conline my java programs? thanks

Before running the J2EE SDK, you must set these environment variables:
* J2EE_HOME - the directory where you installed this release.
* JAVA_HOME - the directory where the Java 2 SDK Standard Edition is installed.
* PATH - include the bin directory beneath the directory where you've installed this release.
If you don't know how to set environment variables:
right mouse click on my pc - properties - tab advanced - button environment variables.
This should do it.

Similar Messages

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • SAPScript:  why the window only show the LAST line

    Dears,
    In my form, one of the window only show the LAST line of the it.
    I have set the window enough space,  also when  debuging the program , open_form, write_form,
    all of those sy-subrc = 0.
    both static texts and dynamic texts are set  in the window,   but only the last line shown.
    Anyone could help me?
    Thanks a lot.
    Sincerely,
    Julie Lv

    Hi,
    There are several possibilities to resolve your problem.
    You can work with 2 main windows on in1 page.
    With NEW-WINDOW you switch to the next main-window
    How to use it.
    make an item in main window with that /: NEW-WINDOW command
    if you are ready with first loop call a WRITE_FORM with that NEW-WINDOW statement.
    to cojntinue in the other main.
    Other possibility is. (in case there are not ot many lines)
    Use for every line other variable names.
    Fill these in the loop. And after loop WRITE FORM
    eg. (if maximum is 3 lines)
    &VAR1_1& &VAR1_2& &VAR1_3& &VAR1_4&
    &VAR2_1& &VAR2_2& &VAR2_3& &VAR2_4&
    &VAR3_1& &VAR3_2& &VAR3_3& &VAR3_4&
    Hope this helps.
    Gr., Frank

  • Is it possible to ready windows variables ?

    Hello,
    I create a BSP Page - there is a filed where
    i want to insert the Username from the windows variables automatically ?!
    maybe someone can help me ?
    thank you!
    set
    USERNAME=NTUSER

    Hi Thomas,
    I think you need to use client side coding.
    Googling I found this: http://www.forum4designers.com/archive22-2004-3-64751.html
    There Martin Honnen suggests this code:
    var wshell = new ActiveXObject('WScript.Shell');
    var env = wshell.Environment('System');
    alert(env('Java_HOME'))
    He warns about security issues related to use of ActiveX.
    After obtained your environment variable value, you need to post it to your BSP page.
    Bye.
    Dany
    P.S.: alternatively you could use, server side, <i>nbtstat</i> MSWindows command, which lets you to know who is logged on a remote machine (type 20 UNIQUE), but:
    1. both server and client need NetBIOS over TCP/IP active  (you can't control client settings - you <b>don't want</b> to let NetBIOS active on your server);
    2. more than one user can be logged on a client;
    3. you need to reach client directly (no proxy).

  • How large should I make the Windows partition in Bootcamp?

    I've just taken delivery of a shiny new 17" Macbook Pro and I am planning to install Windows 7 on it and run SolidWorks 2010 as well as all the Mac side stuff (Adobe CS4, vectorWorks etc). The question I have is what do the experts here think I should set as the Windows partition size? I have a 500GB drive to work with.
    Also, is it best practise to separate Windows files (eg the SolidWorks files) and the Mac files? Should I aim to have all the Windows native app files on the Windows partition or is it OK to mix and match (ie keep everything on the Mac side and access them from Windows)?

    right. I've installed both the 64bit and 32bit versions of Windows 7 and Office 2010 CPP (plus all OS/driver updates from Windows Update as well as other necessary apps (like anti-virus, DropBox, 2GB of personal data)) on a 60GB BC partition and wound up with about 43GB free. I'm not sure what everyone else is installing but you do NOT need a huge partition/drive for Windows 7. 60GB will do you just fine (and believe it or not, Windows is my default OS. I use Snow Leopard for iTunes, Photos (all multimedia), web cam/skype, and have the lion share of my 500GB drive allocated to OSX.
    Things are working very well with this configuration.

  • Can Reader pick up the Default Page Size of a printer that is not the Windows Default Printer?

    We have a web based application that generates PDF documents via Crystal Reports.
    We are using Adobe Reader 8
    The PDF pages are displayed within an Internet Explorer window where the the users then print the document.
    The application is designed so the user only gets one chance to print the document (ie they cant come back and change printer settings if they happen to print the document out incorrectly)
    The document needs to be printed on A3 paper, full duplex.
    We have a printer set-up decidated to the printing of the documents generated by this application.  The default page size of this printer is set of A3.
    If we set this dedicated printer as the Windows Default Printer we have no problems at all.  The default page size (A3) is picked up and the document is printed correctly.
    If any other printer is set as the Windows Default Printer (eg one that has a default page size of A4), the users must obviously select the correct printer from the Print Dialogue Box -however when the user selects the dedicated A3 printer, the page size remains as A4 (page size of the Windows Default Printer).  This means the user must remember to change the paper size to A3 each time.
    Out users find IT a struggle at the best of times - anything that makes the process simpler is very welcomed!
    Is there a way to ensure the default page size of the printer is respected when that printer is not the Windows Default Printer?
    Thanks!

    No.

  • Query value window variable in a grid

    Hi experts !
    I am a novice in SAP B1 2005B and am with the following problem:
    I need to return all the values of a column in one grid, using changeable of screen since the procedure not yet was concluded and  not yet I am recorded in the table. In the case, the window variable is $ [$38,160], however the formatted consultation that I mounted is only returning the first line from grid. I am using the following instruction sql:
    Select distinct convert (to varchar (254), T0.text) from OPDT T0 where T0.textcode = $ [$38.160]
    In I wait it of an aid, since already I am thankful.
    Ps.: They forgive my English…

    Hello Sudha!
    First it would like to thank its attention my problem.
    Well, let's go… in Sales-A/R - > A/R Invoice...
    Here in Brazil, in some nourishing products(i.e milk), us we have the reduction or tax exemption, however in the forma bill of sale I need to specify in which tax law this exemption or reduction is protege, then as they will be being inserted these itens in the forma bill of sale, I I need that the messages are inserted in the field of comments/remarks… these messages are in predefined texts and the code of the text of these messages is equal to the code of the tax of the product, remembering that they will be in maximum three messages for forma bill of sale…For example, in the predefined text I have : (OPDT table)
    TextCode  -
       Text
    PIBI23      -
        Redução de ICMS conforme artigo 389/00 de....etc,etc
    ISS-3       -
         Isenção de IPI conf. artigo 4389, inciso XI de 01/08/00
    SudesteC -
        Redução de 33%,conf. inciso III do art. 987, paragrafo 2
    Summarizing, I need to make one select of all $[$38,160] the referring lines (TaxCode) and to return all the messages where OPDT.TextCode = $ … the problem is that it is only returning the first line or the selected line and not from all the lines as I need…and this has that to be before saving the forma bill of sale…
    Thanks regards...

  • Spry XML data set and dynamic post variables

    Hi,
    I am trying to create an XML data set that has dynamic post
    variables.
    Everytime something is pressed on the page a variable changes
    and I then want to reload the XML data set using the new variable.
    I know I can just pull in an XML with all possible variables
    and filter client side but this would make it way too large.
    Does anyone know what I may need to do.
    I tried this:
    var myVar = 0;
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
    postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    onclick="myVar=1";
    But the script doesn't understand the post variables sent (it
    does when I remove the . myVar part and put in a static value). I
    think it isn't sending that dynamic variable with the post
    variables.
    Any ideas anyone?
    Thanks

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Is it possible to read windows variables ?

    Hi,
    I create a webdynpro view - there is a UIElement where
    i want to insert the Username from the windows variables automatically ?!
    Thanks in Advance.
    Regards
    Anilkumar

    Hi Anil,
    You can use the UME api's to read the user id. There is a weblog also on this. You can use the code below to read the user id.
    <i>IWDClientUser user = null;
    try
              user = WDClientUser.getCurrentUser();
    catch(Exception ex)
      /* Exception Handling */
    IUserAccount[] accounts = user.getSAPUser().getUserAccounts();                     
    if ( accounts!= null && accounts.length >= 1)
         String username = (String) accounts[0].getLogonUid();                             
    }</i>
    Hope this is helpful.
    Regards
    Sidharth

  • How do I set a CGI environmental variable?

    Gettin the following when I try to run a CGI:
    trying to POST /securecontrol-cgis/change-password.cgi, cgieng_scan_headers reports: the CGI program /usr/local/securant/securecontrol-cgis/change-password.cgi did not produce a valid header (name without value: got line "ct_cgi_propfile undefined. exiting.")
    How do I set up the ct_cgi_propfile variable?

    Hi Bill,
    There are plenty of threads on here about scope, but here's one way to create a global variable:
    // code on Stage.compositionReady
    sym.myGlobalVar = 1;
    Then, anywhere in your project, you can check/set that var like so:
    sym.getComposition().getStage().myGlobalVar = 2;
    And here's one way to create a global function:
    // code on Stage.compositionReady
    sym.myGlobalFunction = function(){
              console.log('myGlobalFunction');
    Then, anywhere in your project, you can call that function like so:
    sym.getComposition().getStage().myGlobalFunction();

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • If Firefox is set as the default browser, and any application attempts to open a new window, this fails and I get the error "Firefox is already running..."

    Here is what I am running:
    Microsoft Windows 7, Service Pack 1, Fully updated to 4/10/2012
    Fresh Install of Firefox 11. No add-ons enabled as a result of troubleshooting.
    I am a user with administrator rights
    UAS is disabled.
    To begin, this has been going on Since Firefox 10 or so. A few months now.
    I am able to open Firefox. My add-ons worked (ABP, Flashblock, ABP Element Hiding Helper, IETAB2, Downthemall, Greasemonkey, 4chan extension) had no problems. Firefox is set and has been set for the last two years as my default web browser.
    However Since approximately Firefox 10 or so, maybe before that, If I have a Firefox session open, and any other application attempts to open a session in a new window, I get the Firefox is already running, but not responding error."
    I attempted to follow troubleshooting advice already posted (look for parent.lock files left behind [none present], multiple sessionstore.js files [none present], create a new user profile, attempted to clear out the "read-only" permission in windows 7, however as soon as it is cleared, the read only permission returns.)
    As a last resort, I deleted the Firefox folder, the %APPDATA%/Mozilla directory in its entirety, then utilized CCleaner to remove any and all references to Firefox in the windows registry, then did a full re-install, no extensions installed right now.
    I checked preferences and have the option "open new windows in a new tab" checked off. The problem persists regardless if this option is checked on or off. This problem persists in or out of safe mode, even with the brand new install.
    Test Cases:
    All cases:
    Firefox is selected as the default browser for windows 7
    Case 1: Open a firefox session. Utilize any other program that attempts to open a link to their website in a new browser window or new browser session. Experience "Firefox is already running" error
    Case 2: Open a firefox session. Right click on Firefox on the task bar. Select "open in new window". Experience "Firefox is already running" error
    Case 3: Open a firefox session. Select the Firefox Menu > New tab > New Window. A new window will actually open.
    This is the only method of opening a new window in the same browser session or profile that actually works on my system. Attempting to open a browser session from the task bar "open new window dialog" or opening a new window while a current window/session is running will not open firefox in a new window or a new tab in the current session. The "Firefox is already running, but is not responding" error will occur every time.

    Cor-el's suggestion resolved my problem. Apparently the MOZ_NO_REMOTE variable was set to 1 on my system variables. I never made it, and really have no idea how it got there, but deleting this variable and restarting firefox has resolved the issue. Thanks Cor-el!
    Marking case: Solved
    Solution: Verify the MOZ_NO_REMOTE variable is NOT set to 1. This can be achieved by simply deleting this variable.

  • Novice Trying to Set The CLASSPATH Variable

    I am trying to compile a file (which can be downloaded at http://java.sun.com/docs/books/tutorial/getStarted/QandE/FirstClass.java). Despite being able to successfully compile several other files, this particular one will not compile. According to my JAVA Tutorial book, the problem may lie in the CLASSPATH variable, but I am having a great deal of trouble trying to set/understand it. My operating system is WINDOWS 2000. PLEASE HELP!!!

    in win 2000, the classpath can be set by the following process.
    Right Click My Computer icon and click on properties.
    (This can be done by going to the Control Panel and Double Clicking the System icon too).
    Once you have the properties window of the system click on the 'Advanced' tab.
    There is a button called 'Environment variables'.Click on it.
    You will have a part called 'System Variables' there.
    Here there is an entry called Classpath. Just add the entry of what you want to add to the classpath, separating each entry with a ';' semicolon as mentioned there and click on the Set button.
    That should set the classpath.If that does not take effect immediately, restart the system and it will take effect.
    Tell me if it worx.
    All the best. Bye!
    Cheers,
    Win!

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.(Font.java:298)
         at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

    A Java AWT, X11 problem posted in the weblogic ejb newsgroup. I haven't been in here for long, but
    that has to be a first.
    If you have the DISPLAY env variable set to :0.0, you have to be at the console on a Solaris box
    running the XServer. 'xdm' I think is the code that has to be running. Also, I think the format is
    <hostname:0.0> or better <hostname:0> unless you are on a multi-headed workstation. Something like:
    export DISPLAY=hostname:0
    where hostname is the name of the host running an XServer and the .xhosts file allows access to the
    XServer from the display client.
    Apparently, you are not at the console?
    Anyway, I don't think there is a newsgroup here that I could even recommend to cross-post this to as
    it is not a WebLogic question. I think I would try the Discussion Forums at http://java.sun.com.
    Bill
    "D. Alvarado" wrote:
    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Font.initializeFont(Font.java:264)
    at java.awt.Font.(Font.java:298)
    at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

Maybe you are looking for

  • Problems with merging/hiding tabs with multigroup in PC-UI view

    Hi, I am customizing the Products PCUI Application using a ztest view. When i copy selected events within a tab page group to another view ztest, i am not able to see the selected tab for the customized view. One of the events within the tab page gro

  • A/c Error 'Maximum number of item in FI reached' during invoice posting

    Invoice is created with multiple Delevery So no.of entriies has increased and accounting document has not been created due to error 'Maximum number of item in FI reached'. Accounting document not generated. How it be solved. Regards, Sohail

  • Client creation

    Hi   Can you tell how to create a new client in sap system WTH REGARDS, SRIKANTH.M

  • How To: Find and replace multiple words in one Click ?

    I have an file with about 150 Pages where I want to replace a word about 500 time by one click. Find and Replace works but only with one word. How can I do it by one click ?

  • Acrobat reader refuses to work

    I cannot find a link to contact anyone. How am I going to decide if I want to buy a product, when the free download does not work?? I have reinstalled acrobat reader several times and it still will not open up any files for me. I cannot even uninstal