Installing JavaMint on Windows

Here are some quick instructions on how to download and install Java Mint.

Windows

  1. You need to have Sun’s JDK 6 installed.
  2. 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.
  3. Open an Explorer Window and find the zip file you saved in step 2.
  4. 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.
  5. Right-click on “My Computer” and select “Properties”. Go to the “Advanced” tab and press the “Environment Variables” button.
  6. Click on the “New” button in the “System variables” box.
  7. Enter as variable name: MINT_HOME
    and as variable value: C:\Program Files\JavaMint
  8. Find the Path variable in the “System variables” box, select it and click “Edit”.
  9. 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.
  10. 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
mint Power

There are samples in the C:\Program Files\JavaMint\langtools\mintTest directory.

(Re-posted from The Java Mint Blog)

Share

About Mathias

Software development engineer. Principal developer of DrJava. Recent Ph.D. graduate from the Department of Computer Science at Rice University.
This entry was posted in Mint. Bookmark the permalink.

Leave a Reply