WindowsNT40

Please note that the following install procedure is based on the premise that your Java and your java enabled internet browser are installed correctly. For Microsoft operating systems we assume an installation of jview resp. and Internet Explorer but others are also fine.

  1. Read MINERVA from the distribution media

  2. Set the MINERVA environment.

    Set the %MINERVA_HOME% environment variable and add %MINERVA_HOME%\bin\WinNT to your search path. This can be done using the registry or e.g. in your file autoexec.bat.

    	> notepad autoexec.bat
    

    The following shows an example for MINERVA installed in the folder C:\InetPub\wwwroot\minerva.

    	set MINERVA_HOME=C:\InetPub\wwwroot\minerva
    	set PATH=C:\InetPub\wwwroot\minerva\bin\WinNT
    

    Close notepad.

    Eject any disks from their drives and reboot your computer.

  3. Install your license key Follow the instructions that came with your key.

    Now please have a first look at your MINERVA:

  4. Invoke a simple applet.

    Invoke your Java enabled internet browser, e.g. netscape or internet explorer. Specify the following address in the browser.

    	http://localhost/minerva/home.html
    

    Select ExamplePrograms, MinervaFeatures, HelloWorld and click helloworld.html there.

    Enter some words in the lower entry window. HelloWorld should echo these in the upper window.

    This confirms that your Internet browser operates correctly and that the MINERVA disks were read correctly.

  5. Confirm environment setting and correct installation of your Java

    Now let us invoke the HelloWorld Program, which you have used as an Applet before, as a standalone Java application.

    Open the command prompt and enter the following commands.

    	> cd %MINERVA_HOME%
    	> dir /w
    

    If you find the following message, MINERVA_HOME is correctly set. If not, please check/correct the setting of %MINERVA_HOME%.

    	C:\InetPub\wwwroot\minerva Directory
    	[bin][ExamplePrograms]..etc...
    

    Now confirm the proper setting of PATH and invocation of yor Java. Enter the following command:

    	> minerva
    

    'minerva' is the MINERVA command line executive, invoked without parameters it will present a '?-' prompt. Leave MINERVA with 'halt.'.

    MINERVA standalone execution relies on the proper installation of Java. The scripts %MINERVA_HOME%\bin\WinNT\mjava.bat and %MINERVA_HOME%\bin\WinNT\mjavac.bat allow MINERVA to access different Javas through a standard interface and are configured for a standard installation of Microsoft Visual J++.

    Depending on your installation of Java, you may have to adjust these files. Please use the files in %MINERVA_HOME%\bin\WinNT for references for other manufacturers and versions of Java.

    NOTE that no files except mjava.bat, mjavac.bat and mjar.bat should need any modification to accommodate other Java implementations.

    	MINERVA 2.4 Development Server (C) 1996,2003 IF Computer
    		:
    		:
    

    Now we are ready to invoke HelloWorld:

    	> cd %MINERVA_HOME%\ExamplePrograms\MinervaFeatures\HelloWorld
    	> minervagui -l helloworld You and Me
    

    HelloWorld should echo your parameters "You and Me"

    	MINERVA 2.4 Development Server (C) 1996,2003 IF Computer
    		:
    		:
    	['You','and','Me']
    

    Showing that the MINERVA command line executive works fine. Then at the end, confirm the operation of MINERVA compiler:

    	>  minervac helloworld
    
    Will produce messages like:
            compile: helloworld.min ->  helloworld.ass
            generate interface: helloworld -> helloworld.mpk
    

    You just compiled on your machine a (simple) MINERVA program! This completes the confidence checks: applet operation, standalone operation, compilation. We suggest now that you have a look at the MINERVA documentation and play with the example programs provided. Some are very simple, others assume some knowledge of your operating system and Java.


Darueber read on...