How to set Path on windows 98

Hello!
sorry for my bit knowledge on Java first.
I am having a hard time to set a path in my windows 98.
First, I did instal Java 2SDK version 1.4.0
Then, I download j2EE RI server and documentation from sun's J2EE download site
Then, I run the installer for both the J2EE and documentation
then I did put these �set� command in a bat file.
set JAVA_HOME = C:\j2sdk1.4.0
set J2EE_HOME=C:\j2sdkee1.3.1
set ANT_HOME=C:\ant\apache-ant-1.5.3.1
set PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%J2EE_HOME%\bin
My last step was to check all logging output to the current shell. So I went to the command line and type j2ee -verbose. However I got the following error message.
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1999.
C:\WINDOWS\Desktop>j2ee -verbose
Bad command or file name
can you please help me how to correct this. I don't know DOS much so I may type something wrong.
any help is appreciated.
Kimbra

Yes, I ran into the same problem on my Win 98 laptop. I used the exact same set command, but the problem was, it seems than Windows 98 forgets the set command after a shutdown/reboot.
Go into your autoexec.bat file (should be in your C:\ drive, as in C:\autoexec.bat, or I think you can type sysedit into the Run prompt (Start > Run) ) and then type in:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\j2sdk1.4.0\bin;
That worked for my laptop; I was able to run the javac and java programs in any directory, without referencing the full directory path each time.
Sorry, but I can't help you on the apache problem, although I suspect all you need you do is add that directory path onto the above line.

Similar Messages

  • Need help with setting PATH in Windows 98

    Hi
    Can anyone please help me!!!
    I am new to java and I am confuse how to set the path in my pc. I have a windows 98, I downloaded the Java 2 SDK Standard Edition v 1.4.1 from the CD that came with the fifth edition "Java How to Program" book. I followed the instruction in how to set PATH permanently but it is not working. When I open my AUTOEXEC.BAT this is what I have:
    @ECHO OFF
    rem
    rem *** DO NOT EDIT THIS FILE! ***
    rem
    rem This file was created by the System Configuration Utility as
    rem a placeholder for your AUTOEXEC.BAT file. Your actual
    rem AUTOEXEC.BAT file has been saved under the name AUTOEXEC.TSH.
    rem
    SET PATH=%PATH%;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\PROJECTS\BPL
    @REM Added by MATLAB installer
    SET PATH="%PATH%;c:\matlab_sv12\bin\win32"
    PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1
    REM >>>CS ChemOffice: Do Not Edit!
    path="c:\PROGRA~1\CHEMOF~1\COMMON\dlls";%PATH%
    REM <<<CS ChemOffice: Do Not Edit!
    I added the C:\J2SDK1.4.1\BIN and the end of PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1 but it is not working. When I try to compile javac HelloWorldApp.java in MS-DOS Prompt I get "Bad command or file name".
    If anybody can please help, I'd greatly appreciate it...
    Thank you
    Gem

    I added the C:\J2SDK1.4.1\BIN and the end of
    PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1 but it iswell, you could have written that directory wrong...
    are you sure that your java is in J2SDK1.4.1 ? for me
    that directory has _02 at the end of it as well...
    it also might be that you didn't separate your path
    element with ';'
    that's important too.
    you could try it from dos-prompt like that:
    set PATH=%PATH%;c:\j2sdk1.4.1\bin
    if it works from dos-prompt, then it should work in
    autoexec as well...
    HTHThank you very much for your help!!!
    I tried what you suggest set PATH=%PATH%;c:\j2sdk1.4.1\bin in the dos-prompt and it worked, but it didn't work in the autoexec.bat. I am getting "Out of environment space".
    Gem

  • How to set ORACLE_HOMES on Windows 2000 for 11i

    How to set ORACLE_HOMES on Windows 2000 for 11i
    As am newbie on windows.
    Its very urgent.

    To set ORACLE_HOME on Windows:
    C:\> set ORACLE_HOME=<location>
    i.e.
    C:\> set ORACLE_HOME=d:\oracle\proddb\10.2.0
    To verify:
    echo %ORACLE_HOME%
    In Apps 11i, you do not have to set it manually, just source the environment file and this will set all environment variables for you.
    - To source the application env file, run envshell.cmd under %APPL_TOP%
    - To source the database env file, run <SID>_<hostname>.cmd under %RDBMS_ORACLE_HOME%

  • Install jdk into WinME, how to set path?

    I just install WinME for my pc! However, the method to set path in WinME is different with Win98! I set the path in Win98 by using 'sysedit', however, WinME haven't got 'sysedit', then i tried to set path in 'msconfig'! But, it only allows us to set one path, how should i add one more paths?
    i can't run javac, it said msvcrt.dll has problem!
    what happen?
    I can set path in Win98 but winME is different.
    thank you

    Windows ME - To set the PATH permanently:
    From the start menu, choose programs, accessories, system tools, and system information. This brings up a window titled "Microsoft Help and Support". From here, choose the tools menu, then select the system configuration utility. Click the environment tab, select PATH and press the edit button. Now add the SDK ( e.g C:\j2sdk1.4.0-beta3\bin)to your path by Looking for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH.
    After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted.
    hope this help

  • Setting paths in Windows XP

    I cannot figure out how to set the path in windows XP. I have been told to go to >control panel>system and then something else, I cant remember but it involved a right click. But this only takes my to a general information box and the controls that I'm told to find aren't there. I have successfully set Java up in Millenium but so far on XP I can't. Please help - and something besides the control panel>system thing which doesnt work.

    go to the Start button, press Run... and type sysedit press ok
    System Congiguration Editor will open with the autoexec.bat file
    you can change your path there
    Once you save it, i think you must restart your computer so it takes effect

  • How to set path in linux?

    Hi,
    I tried to compile a form in linux.
    I use the following command:
    export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib
    f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/****
    An fmx is generated. But during compile it also give the following message:
    FRM-18108: Failed to load the following objects.
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_HORZ_LINE
    Source Module:TEMPLATE.fmb
    Source Object: FRAME_RECT
    Source Module:APPSTAND
    Source Object: STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source Object: STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source Object: STANDARD_CALENDAR
    I suppose it because it cannot found template.fmb and appstand.fmb.
    How do I include the path to this files? For example the path is this: /u0/oracle/prodappl/ar/11.5.0/forms/US
    Can I add it using the "export LD_LIBRARY_PATH" command?
    What is the syntax for multiple path for the "export LD_LIBRARY_PATH"?
    I cannot execute it one after the other as it seems the later overwrite the former.
    Thank you
    Jim

    I do:
    export FORMS_PATH=/u01/app/oracle/product/apps/your_source Will it overwrite any path in the FORMS_PATH, or will it add into it? Or is it not permanent?
    this is not permanent solution,your just setting path.
    Refer metalink note
    What is Difference between the Forms_path and the working directory? [ID 551511.1
    Edited by: Amigo on Dec 22, 2010 1:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to set path to jar file (classes)?

    hi,
    i have a java program which uses a jar file (lots of classes). so, i run them all in eclipse but i want to run it on a command line, like through cmd from run.
    the classes are found in a different folder, and the code snippet is found in another folder. so where or how to set the path to the jar file?

    Write
    c:/java -?
    you can use the -cp pption to use your jar file or a folder with classes.
    java -cp jar1.jar myclass.class

  • [fluxbox] how to set space between windows?

    hii,
    question like in subject: how can i set space between windows ?
    i launch 1 terminal window, and when i launch second window, this window is to stick to first...
    how can i set e.g. 50 px gaps between windows ?
    regards le

    hii djszapi ,
    thx for helping, but it not that what i wont
    this is my screen-shoot:
    http://img156.imageshack.us/img156/3511 … 0x800s.png
    i continuing looking for it
    regards le
    btw. hey djszapi,  nice avatar, can i use it ?
    Last edited by le1um (2009-09-06 20:41:13)

  • How to set path to run a Java program?

    my pc os is win2000 service pack 3.
    cpu is celoron 667mhz
    256 pc133 sdram
    i have done the setting b4 run a java program but no any effect.
    setting as below:
    set path=c:\j2sdk1.4.1_01\bin
    set classpath=c:\j2sdk1.4.1_01\lib
    my java file is store in C:\Java, file name is HelloWorld.java, so when i type:
    C:\>
    C:\>Java\javac HelloWorld.java
    (the screen show me : java\javac not internal or external........")
    and i try again as follow:
    C:>
    C:>\Java>javac HelloWorld.java
    (the screen show : Exception in thread "main" java.lang.NoClassDefFoundError:HelloWorld/java)
    i cant do anymore, who can help me?

    you need to put the CLASSPATH to dir: c:\j2sdk1.4.1_01
    and also to the directory you are working
    For example, you are working in "C:\Myclasses". You need to put:
    set CLASSPATH = C:\j2sk1.4.1_01;C:\Myclasses;
    if you don't put your working directory, java doesn't find your classes
    Try it and luck!

  • How to get path to windows

    Hi, I need to locate the path to windows. I've found somewhere this instruction but it always returns null. This is what I have:
    System.getProperty("com.ms.windir");
    Any help please.
    Roel

    Just 'cos its deprecated doesn't mean you can't use it, and it certainly doesn't throw an exception - it just displays a warning when you compile it.
    I've just done a quick check on System properties, and there isn't one for Windows directory. Abnormal's suggested method is cheating a bit - you're telling it what the directory is, rather than looking it up.
    So I'm afraid it's either using getenv, or third party tools (the latter is preferred, as long as they're free!)
    Robin

  • How to set path of MS-Access databse file dynamically in crystal report

    i have windows application and crystal reports and access database.when i connect crystal report to database through followingpath like
    \\machinename\FolederName\AccessDBFile.mdb..here machine name is my machine name(i.e:PCNAMe).but when i will deploy this application on cliet machine then how i can set the path to crystal report with his machine name dynamically..or is
    there any other provision to do this so that i can set it dynamically.
    one more thing i want to tell you is that i wwant to share database on multiple machines so how can i do that.

    Hello,
    Crystal reports is for a long time not anymore supported by Microsoft. 
    Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
    Try direct the SAP community for Crystal reports for .Net
    http://scn.sap.com/community/crystal-reports
    Success
    Cor

  • How to set fullscreen mode window

    hi there.. ive seen the fullscreen exclusive mode examples and doc in java 1.4.0 still i cant get to set my window.. anybody around here got those examples to run? how did u do it?
    and did you made a program that can run in fullscreen and draw into it? like 640x480x32bit? or anything else..please let me know..

    Do not if I understand you, but would this help?
    void maximize() {
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Insets ins=insets();
    resize(screenSize.width-(ins.left+ins.right)-16,screenSize.height-(ins.top+ins.bottom)-48);
    Dimension frameSize = size();
    move((screenSize.width- frameSize.width) / 2, 0) ;
    validate();
    }

  • HT201726 How to set again your windows background color

    I  used to have a pleasant blue color as a background for my files, documents, applications, but when I looked for a file and clicked on the screen the color was gone becoming a white background.
    I used to see the view options but now it has the point on one selection and cannot click on the color to change it back again. Any solutions and/or suggestions on how to do it? Thank U.

    I';ll try to make it as clear as I can to cover all bases. I set before the blue color I wanted, it changed once I update the OS System to Maverick.
    When I open the finder window on the left column appears 8 (eight) icons, another one for shared plus other for tags.
    All the first 8 used to have the blue color set. Now only iCloud, Desktop, and Ilabra (home). All my files, documents and applications the background used to be blue they turned White..
    ON the three options of White, Color or Picture, The selection appears on White and the other two are shaded. Before the View had the three option when I applied the blue color. Now I can not, and I do not know why this occurred.
    I hope I have been clear with the explanation. Any more suggestions? I will certainly appreciate them and your time and patience.

  • How to set path names with spaces ?

    I want to set a variable to a path name that contains spaces that will work with cd. If I set the variable with
    set p1="My MPW Folder"
    then using echo $p1 yeilds
    My MPW Folder
    however is I do cd $p1 I get
    cd: Too many arguments.
    If I manualy type cd "My MPW Folder" it works. I just don't know which escape character I can use to allow the spaces to be accepted as part of the path name.
    Thanks,
    Power PC G4   Mac OS X (10.3.9)   1.25 GB RAM

    You already know that you can use quotes around a string to keep whitespace as part of the string, so: cd "$p1"
    Dual 1.25 GHz G4 (among others)   Mac OS X (10.3.9)   Fink (obviously)

  • HT1694 How to set up a Windows Live Mail email account?

    I am attempting to set up my email account on my iPhone 4. I use a Windows Live Mail email account.
    When I go to Settings > Mail, Contacts, Calendars > Add Account > Other > Add Mail Account > I enter all of the relevant details in relation to my new account which I am attempting to set up (such as; Name, Email, Password, Descriptopn) and then I click next > Then here is what I am not sure what to do next.
    I am asked under Incoming Mail Server to enter a Host Name, User Name & Password. Under that there is Outgoing Mail Server and I am asked to enter Host Name.
    My question is where do I find this information?
    Thank you.

    http://wiki.answers.com/Q/Live_mail_outgoing_mail_server

Maybe you are looking for

  • XL Reporter in Sap 8.8 PL 16running On Server 2008 R2  and SQL 2008 R2

    Within the above environment (XL Reporter in Sap 8.8  PL 16 running On Server 2008 R2  and SQL 2008 R2) Xl reporter is loading and appears to work fine until you look at the spreadsheet result It is completely blank except for the titles Yet Excel Ma

  • EPMA Error

    Hello, Version : 11.1.1.3 DB : Oracle 10.2.0.4 Environment : AIX 5.3, Windows 2003 Server 32 bit I successfully deployed a plain vanilla EPMA planning application with 6 standard & 4 custom dimensions by copying them from shared library to applicatio

  • Few condition types missing in Outline agreements

    Hi, In PO, I am getting all conditions but in outline agreements (either contract or sch.agreement) few are missing. How to get all conditions in Outline agreements? Regards, Sattuj

  • How do I download iTunes on my windows 8 surface RT????

    Please help.... And my iphone is jacked up and will not find or connect to my wifi or any wifi unless I stand about a foot away from the router. I have reset the network settings and rebooted the phone. and nothing helps. but all me other wireless ph

  • Using adobe after effects templates in fcpx

    Is it possible to use an adobe after effects template in motion 5 or fcpx? If so how do I go about doing this? I am fairly new to this and i found a template that i would really like to use for a football highlight video that i am putting together. T