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 Windows we assume an installation of Visual J++ and Internet Explorer but others are also fine.
Set the %MINERVA_HOME% environment variable and add %MINERVA_HOME%\bin\Win95 to your search path. This can be done 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:\Windows2;C:\WINNT;C:\InetPub\wwwroot\minerva\bin\Win95
Close notepad.
Eject any disks from their drives and reboot your computer.
Now please have a first look at your MINERVA:
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.
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\Win95\mjava.bat and %MINERVA_HOME%\bin\Win95\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\Win95 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 helloworldWill 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.
| scroll to top |
|