Windows
- You need 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 on my desktop, i.e. 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 aC:\Program Files\JavaMintdirectory. 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
Pathvariable 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.
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 PowerThere are samples in the
C:\Program Files\JavaMint\langtools\mintTest directory.
0 comments:
Post a Comment