Here are some quick instructions on how to download and install Java Mint.
Windows
- You need to have Sun’s JDK 6 installed.
- Download the “binaries only” Java Mint zip file from the Java Mint implementation page. In this example, I have saved the file at
C:\Program Files
. - Open an Explorer Window and find the zip file you saved in step 2.
- Right-click on the zip file and choose “Extract All…” and unpack all files in C:\Program Files. This will create a
C:\Program Files\JavaMint
directory. If you don’t see an “Extract All…” option in your context menu, you may need to download a program such as WinZip or WinRar first. - Right-click on “My Computer” and select “Properties”. Go to the “Advanced” tab and press the “Environment Variables” button.
- Click on the “New” button in the “System variables” box.
- Enter as variable name:
MINT_HOME
and as variable value:C:\Program Files\JavaMint
- Find the
Path
variable in the “System variables” box, select it and click “Edit”. - Go to the end of the text entered for “Variable value”, and add the following text:
;%MINT_HOME%\langtools\bin
Be sure to enter the semicolon at the beginning of the added text. - Press “OK” three times to close all three opened dialogs. Now you have added JavaMint to your path.
Now you can compile programs using mintc
and run them using mint
. Open a Command Prompt by clicking on the “Start” button, selecting “Run” and entering cmd
and pressing “OK” (or search for the “Command Prompt” program in your Start Menu).
mintc Power.java<br>
mint Power
There are samples in the C:\Program Files\JavaMint\langtools\mintTest
directory.
(Re-posted from The Java Mint Blog)