Help with setting environment variable on solaris 10

hi, i am new to solaris. i have solaris 10 x86, and as root user, i installed jdk 6 into /usr/jdk/jdk1.6.0_20. now i want to add the path /usr/jdk/jdk1.6.0_20/bin to my path variable. also i want to set JAVA_HOME. but each time i do this, and close the terminal, it resets. i mean when i echo $JAVA_HOME, i get nothing and if i echo $path, the address i aded is no longer there too.
what can i do to make this permanent. and do i have to set it for every user, or will the one set by root, be seen by all users?
thanks.

Assuming you're using tcsh, then I typically place my environment variables in my .login.
You can also place them in your .tcshrc file.
Use
setenv JAVA_HOME <path>
for tcsh.
For the Bourne shell, you can put them in the .profile file.
Use
JAVA_HOME=<path>
export JAVA_HOME
-- Ken

Similar Messages

  • Help with setting/getting variables in app

    Hi,
    I have an application which behaves in the following manner:
    1. User logs in.
    2. User is presented with a list of projects; user clicks on a project to drill down to that project.
    3. User is presented with project information which includes 4 separate lists of tasks grouped by week. So there are tasks for the current week the user is in plus task for the 3 weeks out.
    4. User can edit talks or create new ones for each of the 4 weekly groupings.
    Given that, on the main page for a project I have set up a report and form for each of the weekly groupings. I also have an item for the project id as well as each weekly grouping id. The goal there is that when a user clicks the "create" button they can create a new task for the appropriate weekly group. However, this isn't working.
    For the first weekly group when I click "create" I'm presented with the form to fill out for the task. All of the info is there, including the correct id for that weekly group so the task gets assigned to it properly. However, when I save I get an error which says that particular id is null.
    For the next three groups when I click "create" I'm given the same thing as above but without the id for the weekly group. Even if I set it and save things I'm getting the same error.
    So, I'm wondering what I've done wrong in the app flow. Am I setting these variables too early, too late? Am I really not picking them up in spite of what I see on my screen? Have I missed some fundamentals of Apex here?
    Thanks in advance for your time and help.
    Jon

    Varad....here you go...thanks!
    0.16: A C C E P T: Request="CREATE"
    0.21: Metadata: Fetch application definition and shortcuts
    0.22: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.23: alter session set nls_language="AMERICAN"
    0.23: alter session set nls_territory="AMERICA"
    0.23: NLS: CSV charset=WE8MSWIN1252
    0.23: ...NLS: Set Decimal separator="."
    0.23: ...NLS: Set NLS Group separator=","
    0.23: ...NLS: Set date format="DD-MON-RR"
    0.23: ...Setting session time_zone to -08:00
    0.25: Fetch session state from database
    0.27: ...Check session 1196910493324671 owner
    0.27: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.27: Session: Fetch session header information
    0.27: ...Metadata: Fetch page attributes for application 120, page 18
    0.28: ...Validate item page affinity.
    0.28: ...Validate hidden_protected items.
    0.33: ...Check authorization security schemes
    0.33: Session State: Save form items and p_arg_values
    0.33: ...Session State: Save "P18_TASK_SEQ" - saving same value: ""
    0.33: ...Session State: Save "P18_WEEK_GROUP_SEQ" - saving same value: ""
    0.34: ...Session State: Saved Item "P18_DISCIPLINE_SEQ" New Value="1"
    0.34: ...Session State: Saved Item "P18_TASK_TITLE" New Value="Test"
    0.34: ...Session State: Saved Item "P18_TASK_PRIORITY" New Value="5"
    0.35: ...Session State: Saved Item "P18_PERCENTAGE_COMPLETE" New Value="25"
    0.35: ...Session State: Saved Item "P18_TASK_RISK" New Value="None"
    0.35: ...Session State: Saved Item "P18_TASK_IMPACT" New Value="None"
    0.36: ...Session State: Saved Item "P18_TASK_MITIGATION" New Value="None"
    0.36: ...Session State: Saved Item "P18_CREATED_ON" New Value="12-DEC-08"
    0.37: ...Session State: Saved Item "P18_CREATED_BY" New Value="jwynacht"
    0.37: ...Session State: Save "P18_CREATED_FROM_TASK_SEQ" - saving same value: ""
    0.37: ...Session State: Saved Item "P18_LAST_MODIFIED_ON" New Value="12-DEC-08"
    0.37: ...Session State: Saved Item "P18_LAST_MODIFIED_BY" New Value="jwynacht"
    0.38: ...Session State: Saved Item "P18_DELETE_FLAG" New Value="0"
    0.38: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.38: Branch point: BEFORE_COMPUTATION
    0.38: Computation point: AFTER_SUBMIT
    0.38: ...Evaluate condition "PLSQL_EXPRESSION" for computation of item: P18_WEEK_GROUP_SEQ
    0.39: Tabs: Perform Branching for Tab Requests
    0.39: Branch point: BEFORE_VALIDATION
    0.39: Perform validations:
    0.40: ...Item Not Null Validation: P18_WEEK_GROUP_SEQ
    0.40: ...Validation did NOT pass
    0.40: ...Item Not Null Validation: P18_DISCIPLINE_SEQ
    0.40: ...Item Not Null Validation: P18_TASK_TITLE
    0.40: ...Item Not Null Validation: P18_TASK_PRIORITY
    0.40: ...Item Not Null Validation: P18_CREATED_ON
    0.40: ...Item Not Null Validation: P18_CREATED_BY
    0.40: ...Item Not Null Validation: P18_LAST_MODIFIED_ON
    0.40: ...Item Not Null Validation: P18_LAST_MODIFIED_BY
    0.40: ...Item Not Null Validation: P18_DELETE_FLAG
    0.41: ...Inline validation error count = 1
    0.41: Show current page with inline validations
    0.42:
    0.42: S H O W: application="120" page="18" workspace="" request="" session="1196910493324671"
    0.43: NLS: Language=en-us
    0.43: Application 120, Authentication: CUSTOM2, Page Template: 2370905300761909
    0.43: ...Session ID 1196910493324671 can be used
    0.43: ...Application session: 1196910493324671, user=JWYNACHT
    0.43: ...Determine if user "APEX_JON" workspace "995216593441806" can develop application "120" in workspace "995216593441806"
    0.44: ...Metadata: Fetch page attributes for application 120, page 18
    0.44: Branch point: BEFORE_HEADER
    0.44: Fetch application meta data
    0.46: Computation point: BEFORE_HEADER
    0.46: Processing point: BEFORE_HEADER
    0.47: ...Recompute field lables for fields in error.
    0.48: Show page template header
    0.53: Computation point: AFTER_HEADER
    0.53: Processing point: AFTER_HEADER
    0.53: ......Do not perform process because inline validation condition found.
    0.53: ...Do not run process "Fetch Row from TASK", process point=AFTER_HEADER, condition type=, when button pressed=
    JWYNACHTLogout
    1 error has occurred
    Week Group Seq must have some value.
    0.53: Computation point: BEFORE_BOX_BODY
    0.53: Processing point: BEFORE_BOX_BODY
    0.53: Region: Task
    Task          
    Cancel
    Create
    0.55: Item: P18_TASK_SEQ HIDDEN_PROTECTED
    0.57: Item: P18_WEEK_GROUP_SEQ TEXT
    Week Group Seq
    Week Group Seq must have some value.     
    0.57: Item: P18_DISCIPLINE_SEQ TEXT
    Discipline Seq     
    0.58: Item: P18_TASK_TITLE TEXT
    Title     
    0.58: Item: P18_TASK_PRIORITY TEXT
    Priority     
    0.58: Item: P18_PERCENTAGE_COMPLETE TEXT
    %Complete     
    0.59: Item: P18_TASK_RISK TEXTAREA
    Risk     
    0.59: Item: P18_TASK_IMPACT TEXTAREA
    Impact     
    0.59: Item: P18_TASK_MITIGATION TEXTAREA
    Mitigation     
    0.59: Item: P18_CREATED_ON TEXT
    Created On     
    0.60: Item: P18_CREATED_BY TEXT
    Created By     
    0.60: Item: P18_CREATED_FROM_TASK_SEQ TEXT
    Created From Task Seq     
    0.61: Item: P18_LAST_MODIFIED_ON TEXT
    Last Modified On     
    0.61: Item: P18_LAST_MODIFIED_BY TEXT
    Last Modified By     
    0.62: Item: P18_DELETE_FLAG TEXT
    Delete Flag     
    0.62: Computation point: AFTER_BOX_BODY
    0.62: Processing point: AFTER_BOX_BODY
    0.62: Computation point: BEFORE_FOOTER
    0.62: Processing point: BEFORE_FOOTER
    0.62: Show page tempate footer
    Home
    Application 120
    Edit Page 18
    Create
    Session
    Activity
    No Debug
    Show Edit Links
    0.63: Computation point: AFTER_FOOTER
    0.63: Processing point: AFTER_FOOTER
    0.63: Log Activity:
    0.63: Execute Count=0
    0.63: End Show:

  • Need help with setting a variable using actionscript

    So I am trying to import in XML and this is working fine, But
    once in flash I need to reference this variable in a later script.
    Here is what I got.
    function loadXML(loaded) {
    if (loaded) {
    /////this is the variable, which is working, it pulls the
    info from the xml document properly.
    var node1 =
    this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    ////another variable, etc...
    var node2 =
    this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    /////when traced it outputs the proper value.
    trace(node1);
    ////////does not work here though.
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("co.xml");
    var latmin = 37;
    var latmax = 41;
    var lonmin = -109;
    var lonmax = -102;
    this.geoPlotter_gp.setRange(latmin, latmax, lonmin, lonmax);
    this.geoPlotter_gp.setNodeSymbol("geoPloterNodeSymbol");
    this.geoPlotter_gp.addNode(40.48, -107);
    ////////////////This is where I need to now use the variables
    defined above//////////////
    this.geoPlotter_gp.addNode(node1);// Boulder
    this.geoPlotter_gp.addNode(node2);// Denver
    /////any ideas all? I am sure this is something simple...I am
    just overlooking something.

    when you prefix a variable using var within a function,
    you're making it local to that function. ie, node1 and node2 are
    undefined outside loadXML().
    to remedy, don't prefix with var.

  • Need help with setting a variable using xml

    So I am trying to import in XML and this is working fine, But
    once in flash I need to reference this variable in a later script.
    Here is what I got.
    function loadXML(loaded) {
    if (loaded) {
    /////this is the variable, which is working, it pulls the
    info from the xml document properly.
    var node1 =
    this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    ////another variable, etc...
    var node2 =
    this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    /////when traced it outputs the proper value.
    trace(node1);
    ////////does not work here though.
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("co.xml");
    var latmin = 37;
    var latmax = 41;
    var lonmin = -109;
    var lonmax = -102;
    this.geoPlotter_gp.setRange(latmin, latmax, lonmin, lonmax);
    this.geoPlotter_gp.setNodeSymbol("geoPloterNodeSymbol");
    this.geoPlotter_gp.addNode(40.48, -107);
    ////////////////This is where I need to now use the variables
    defined above//////////////
    this.geoPlotter_gp.addNode(node1);// Boulder
    this.geoPlotter_gp.addNode(node2);// Denver
    /////any ideas all? I am sure this is something simple...I am
    just overlooking something.

    var node1 is a local variable to the loadXML function and not
    visible
    outside the function.
    Place var node1 on the timeline say in Frame 1 and it will be
    visible to all
    functions on the timeline.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "GDrider" <[email protected]> wrote in
    message
    news:e2p0r5$33i$[email protected]..
    So I am trying to import in XML and this is working fine, But
    once in flash
    I
    need to reference this variable in a later script. Here is
    what I got.
    function loadXML(loaded) {
    if (loaded) {
    /////this is the variable, which is working, it pulls the
    info from the xml
    document properly.
    var node1 =
    this.firstChild.childNodes.childNodes.firstChild.nodeValue;
    ////another variable, etc...
    var node2 =
    this.firstChild.childNodes.childNodes.firstChild.nodeValue;
    /////when traced it outputs the proper value.
    trace(node1);
    ////////does not work here though.
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("co.xml");
    var latmin = 37;
    var latmax = 41;
    var lonmin = -109;
    var lonmax = -102;
    this.geoPlotter_gp.setRange(latmin, latmax, lonmin, lonmax);
    this.geoPlotter_gp.setNodeSymbol("geoPloterNodeSymbol");
    this.geoPlotter_gp.addNode(40.48, -107);
    ////////////////This is where I need to now use the
    variables defined
    above//////////////
    this.geoPlotter_gp.addNode(node1);// Boulder
    this.geoPlotter_gp.addNode(node2);// Denver
    /////any ideas all? I am sure this is something simple...I
    am just
    overlooking
    something.

  • Forget to set environment variable export SAPINST_USE_HOSTNAME

    Dear Experts
    we have installed the SAP ECC6.0 EhP4 in HACMP environment with AIX6.1 ,Power HA cluster6.1, oracle 11g database
    the problem is while installing the CI and ASCS and Dialog instance I  missed  to set environment variable
    export SAPINST_USE_HOSTNAME = <virtual Host Name> and while starting the sap-inst also i didn't start as like
    ./sapint SAPINST_USE_HOSTNAME  = <virtual Host Name>,Now i am facing problem while doing cluster fail over to another node
    Node A host Name is not reflecting in Node B and I am not able to start  the SAP with host name of Node A
    in AIX6.1 in IBM Admin they didnt give any virtual host name they said that they  have configured  the cluster with two service IP there is no virtual IP in AIX6.1
      please help me out how to resolve this host Name issue and to start the SAP in Node B
    Thanks in Advance
    krishna

    Hi Krishna,
    I dont agree with the AIX 6.1 having no virtual ip's, because i recently installed a HA instance with ASCS, SCS & also ERS on 6.1
    to answer your questions:-
    "can you tell is this correct setup or anything we did mistake for file system setup and installation"
    This depends on what your requirement is. Typically a cluster will have Oracle on one host and SAP on the other host. Ill explain the VCS concept, so you will have a better understanding.
    Lets consider Node1 & Node2. Now each node will have a physical IP and a virtual IP. The Virtual IP will be associated with a set of file systems. For example /oracle will be associated to virtual ip lets say "xyzDB" & the /usr/sap/<sid>, TRANS & sap mount will be associated with virtual ip lets say "abcCI". Now when the cluster fails over to which ever node, these file systems will still be associated with their respective virtual ip's.
    So, the start profile will always have START_DVEBMGS_abcCI. Irrespective of which Node the sap is in, when you start the SAP, it will use the virtual hostname and start up SAP. I hope your getting the concept.?
    Coming back to the setup, since you have ASCS, Oracle , CI & a dialog instance. Im not sure what file systems you have associated with VCS groups. Can you give command "hastatus -sum" and post the output?
    Regarding your other question
    "this file system is moving to Node B but while starting SAP on Node B host Name is not reflecting and SAP is not coming up  due to there hostname didnt change in Node B,, can you advice me please ,,"
    This is inline with what i explained above for cluster mechanism. The physical IP will not change. It is only the virtual IP that is associated with a set of file systems.
    Ill give you one more example, Consider the parameter rdisp/mshost = <> . What should this be? Physical host or Virtual host?? :-) .It should be Virtual. Because the CI can be in Node1 or Node2. If we give the physical host, then if the SAP fails over to the other node. How will it start up? because the profiles still say the message server is in the other host... Getting my point?
    Regards,
    Shanser

  • Mountain Lion: how set environment variables

    Am I correct that for Mountain Lion, if not earlier, the only way to set environment variables at the system level is to use (or create) a file /etc/launchd.conf that contains commands such as:
    setenv CATALINA_BASE /opt/local/share/java/tomcat6
    (That does seem to work as expected.)
    If so, how does one do this by referencing the value of something else, e.g., to set JAVA_HOME? I tried
    setenv JAVA_HOME $(/usr/libexec/java_home)
    but then in Terminal if I run
    echo $JAVA_HOME
    I just get back $(/usr/libexec/java_home).
    By contrast, if I put that same setenv JAVA_HOME $(/usr/libexec/java_home) command into my ~/.profile, then the result of echo $JAVA_HOME is the actual value referenced, namely, /Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home.

    Linc Davis wrote:
    launchd is not a shell and does not peform expansion. You have to use literal expressions. But you can also modify the bash environment system-wide by editing the file /etc/profile.
    But sudo emacs /etc/profile won't let me edit this file: it's read-protected, emacs says.
    What permissions should I give it? Right now it's in group wheel, owned by root but with Read permission only.
    P.S. And is it really a good idea to edit /etc/profile -- assuming I can suitably set the permissions to do so? Apple goes out of its way to try to hide this file: /etc is a link to /private/etc, e.g.

  • How to set environment variables in WL ?

    Hi,
    How to set environment variables in WL ?
    Thanks,
    Srivi

    Hi,
    You can set the environmet variable in Weblogic by using the below commands
    setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
    Overview of WebLogic Server Domains
    or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
    To run SetDomainEnv.sh in Linux please use
    . ./setDomainEnv.sh it require two dots (Dont miss it )
    http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
    Hope it helps

  • How to set environment variable ORACLE_HOME ?

    Hi
    I trying to install SAP Solution manager 4.0 SR3:
    OS: Linux RHEL4u4
    DB: Oracle
    SAPinst now stops the installation.
    To proceed with the installation, install the Oracle database as follows:
    1.Log in as user orassm.
    2.Set the DISPLAY variable.
    3.Change to directory /oracle/stage/102_32/database/SAP.
    4.Start './RUNINSTALLER'.
    After you installed the Oracle database software, proceed with the database instance
    installation by choosing 'OK' in this dialog box.
    ./RUNINSTALLER
    oracle_stage is not set (OK)
    oracle_base is not set (OK)
    oracle_home is not set (OK)
    oracle_sid is not set (OK)
    oracle_home_name is not set (OK)
    oracle_inst_group is not set (OK)
    from_location is not set (OK)
    tmp_netca_file is not set (OK)
    tmp_dbca_file is not set (OK)
    Working in /oracle/stage/102_32/database/SAP ...
    The environment variable ORACLE_HOME is not set! abort ...
    How to set environment variable ORACLE_HOME ?
    Regards
    Eric

    i
    Switch shell to bash:
    orassm:x:502:503:SAP Database Administrator:/oracle/SSM:/bin/bash
    [root@csp-p-sm00 ~]# su - orassm
    [orassm@csp-p-sm00 ~]$
    But when try to run ./RUNINSTALL
    [orassm@csp-p-sm00 SAP]$ ./RUNINSTALLER
    oracle_stage is not set (OK)
    oracle_base is not set (OK)
    oracle_home is not set (OK)
    oracle_sid is not set (OK)
    oracle_home_name is not set (OK)
    oracle_inst_group is not set (OK)
    from_location is not set (OK)
    tmp_netca_file is not set (OK)
    tmp_dbca_file is not set (OK)
    Working in /oracle/stage/102_32/database/SAP ...
    The environment variable ORACLE_HOME is not set! abort ...
    Additionaly I've post csh.cshrc and csh.login
    /etc/cshrc
    csh configuration for all shell invocations.
    by default, we want this to get set.
    Even for non-interactive, non-login shells.
    [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
    if $status then
            umask 022
    else
            umask 002
    endif
    if ($?prompt) then
      if ($?tcsh) then
        set prompt='[%n@%m %c]$ '
      else
        set prompt=\[`id -nu`@`hostname -s`\]\$\
      endif
    endif
    if ( $?tcsh ) then
            bindkey "^[[3~" delete-char
    endif
    setenv MAIL "/var/spool/mail/$USER"
    limit coredumpsize 0
    if ( -d /etc/profile.d ) then
            set nonomatch
            foreach i ( /etc/profile.d/*.csh )
                    if ( -r $i ) then
                            source $i
                    endif
            end
            unset i nonomatch
    endif
    /etc/csh.login
    System wide environment and startup programs, for login setup
    if ($?PATH) then
            if ( "$" !~ /usr/X11R6/bin ) then
                    setenv PATH "$:/usr/X11R6/bin"
            endif
    else
            if ( $uid == 0 ) then
                    setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
            else
                    setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
            endif
    endif
    setenv HOSTNAME `/bin/hostname`
    set history=1000
    if ( ! -f $HOME/.inputrc ) then
            setenv INPUTRC /etc/inputrc
    endif
    Regards
    Eric

  • Runtime.exec and setting environment variables

    Runtime.exec and setting environment variables
    I need a decent example which works on Windows.
    Got any?

    Thank you.
    I was hoping for an example of the use of
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runti
    e.html#exec(java.lang.String,%20java.lang.String[]) or
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runti
    e.html#exec(java.lang.String,%20java.lang.String[],%20j
    va.io.File) which take environment variable
    information such as PATH.
    The reason is because there is a library which is
    being loaded via loadLibrary (
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Syste
    .html#loadLibrary(java.lang.String) ). However, for
    the child process to find the library the PATH needs
    to be updated.
    Any example regarding changing the PATH variable via
    Java so that libraries can be loaded and processes
    created? (Perhaps, I should make a new post and
    restate the question with this more explicit
    information?)
    That won't work. LoadLibrary occurs in the JVM environment. As I said you can't change the JVM environment via exec().
    If the shared library needs something in the path then you are going to have to set the path before your application starts up.
    If you just need to load the library from someplace that is not on the path then you should be using System.load().

  • Can anyone help with setting up AirPrint on my iPhone 4

    Can anyone help with setting up AirPrint on my iPhone 4.  Printer is ready.

    you have a compatable printer correct? http://support.apple.com/kb/ht4356
    if you do may i introduce you to a hassel free app for your mac called printopia i use it also very easy to set up and use
    http://www.udeo.com/mac/printopia/
    hope thats helped
    Goody

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • Set environment variables

    Does a user need to have certain rights or access to certain libraries to
    set environment variables off or on when running a pl/sql script?
    environment variables such as:
    set echo off;
    set termout off;
    thanks

    It is possible to disable certain SQL*Plus, SQL and PL/SQL commands, using the PRODUCT_USER_PROFILE table (note that this only affects the SQL*Plus environment).
    See: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch10.htm#1005596

  • How to set environment variables using java program

    Hi all
    I want to set environment variables on windows 98/200/xp system, such as path and classpath using a java program.
    How to do this using a java program.
    Any body plz helppppppppp.

    #1 05-02-2003, 07:38 AM
    Goodz13 Join Date: Jan 2002, Posts: 985
    Location: Halifax, NS, Canada
    Reputation:
    Java FAQ's and tutorials
    Java FAQ's
    Path and ClassPath:
    PATH
    In Windows 9x you would set it up in the autoexec.bat file
    ie.
    SET PATH=%PATH%;c:\jdk1.4.2\bin\;
    where c:\jdk1.4.2\ is the path where you installed Java.
    In Windows 2000 and XP
    Right click on My Computer->Properties->Advanced Tab->Environment Variables... Button.
    If you see a PATH in System Variables, click that and edit it. If you don't, you will need to create a new System variable.
    It should look something like this:
    %SystemRoot%\system32;%SystemRoot%;c:\jdk1.4.2\bin\;
    Any querry email me to [email protected]
    Answer by
    Rajasekhar Goli
    DS UNICS Infotech

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

Maybe you are looking for