Welcome to the NavList Message Boards.


A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

Compose Your Message

Add Images & Files
    Re: Can't run Olivier's Java programs
    From: Olivier Le Diouris
    Date: 2004 Mar 19, 08:01 -0800

    Hello Jim,
    The message you have comes from the fact that 'java.exe' is not in your
    path, for some reason.
    To fix this situation, you have several solutions.
    You need to know where java has been installed.
    Let's say it is in C:\Program Files\Java\j2re1.4.2\bin, which could be
    the case.
    If you don't know, start a find on your system, looking for 'java.exe'.
    Then from a DOS prompt, (Start | Programs | Accessories| Command
    prompt), enter the following command:
    Prompt> C:\Program Files\Java\j2re1.4.2\bin\java -version
    If this works (ie you do not have the same message as before), it means
    that java is here and ok.
    If not, you will need to tell me more about your machine...
    Then, two solutions:
    A first one is to edit and modify the celest.bat you started the story
    from, by adding at its top the following line:
    set PATH="C:\Program Files\Java\j2re1.4.2\bin";%PATH%
    which tells to the OS to also look in this directory whenever a command
    is requested, like 'java'.
    Then save the file, and run it again.
    Another possibility is to modify the PATH at the system level (I'd
    recommend this solution, if  java is to be used from some other
    To do so, go to "My Computer" on your desktop, and right-click on it. Go
    to "Properties", at the bottom.  Then choose the "Advanced" tab. Click
    the "Environment Variables" button. Then, for the user or for the system
    (your choice. I'd go for the system one.), look for the PATH variable,
    and edit it (Edit button). Then add at the beginning of the string the
    path chunk we've mentioned:
    C:\Program Files\Java\j2re1.4.2\bin (no surrounding quotes), and click
    OK, OK, OK, to exit all the dialog boxes that remain opened.
    If you have a dos window opened, close it, and open another one to take
    your environment modification in account.
    In the Command window, type 'java - version', it should now work.
    Please let me know if this fixes your problem or not...
    If not, we'll try again. We will fix it!
    - Olivier
    Jim Thompson wrote:
    >I thought I understood computers, but...
    >I downloaded the correct Sun JRE version and installed it using the Windows
    >Installer kernel.  The installation failed once, and then ran fine second
    >time.  Window's logs confirm the successful installation.
    >I unzipped Olivier's package into a custom D: drive directory and ran
    >celest.bat.  The DOS window appears.  When I type J/Enter, I get this error
    >message: "'java' is not recognized as an internal or external command,
    >operable program or batch file".
    >Windows XP Home
    >Fast machine, lots of RAM
    >I tried googling around about installing the Java environment, and I tried
    >searching through windows on my machine to see if the Java environment is
    >mentioned anywhere, but came up dry.
    >Internet Explorer's java security settings are on "high", but I can't see
    >that affecting a java program running on my machine.
    >Thoughts, anyone?  Thanks.
    >Jim Thompson
    >Outgoing mail scanned by Norton Antivirus

    Browse Files

    Drop Files


    What is NavList?

    Join NavList

    (please, no nicknames or handles)
    Do you want to receive all group messages by email?
    Yes No

    You can also join by posting. Your first on-topic post automatically makes you a member.

    Posting Code

    Enter the email address associated with your NavList messages. Your posting code will be emailed to you immediately.

    Email Settings

    Posting Code:

    Custom Index

    Start date: (yyyymm dd)
    End date: (yyyymm dd)

    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site