- Windows 7 Professional SP1
- Visual COBOL for Eclipse Personal Edition 2.2 by Micro Focus
- Java 1.7 (1.7.0_67 – Windows x86)
Download Visual COBOL
Download Visual COBOL for Eclipse Personal Edition from www.microfocus.com. You need to register to get free 1-year license. Once registered, Microfocus sends you an email that contains the link where to download the IDE from. Just click the green arrow icon for “Visual COBOL for Eclipse for Windows”.
The installation process is straightforward. It is like updating a JDK, actually.
Depending on your machine, the installation process should not take more than 20 minutes.
The IDE is Eclipse and will ask you to set a path for workspace upon first run.
To avoid reusing your other Eclipse workspace, use a different path for COBOL. Here, I set the IDE to use “workspace-cobol” directory.
To activate your license, choose “I want to activate the free product” option, supply the email address you used during the online registration, and select “Automatic (requires an Internet connection)”.
Then, just click Finish.
The “Activation Successful” window or screen is displayed. Just clock Close and Eclipse ask whether or not you want to restart it.
Create a COBOL Project
Once restarted, create a COBOL Project by going to New->Project… and COBOL Project under the “Micro Focus COBOL” folder.
I have not tried the other wizards.
Scroll down a bit to see that COBOL Project wizard.
Click Next. Then, give name to the project.
Successfully created a COBOL Project
Create a COBOL Program
Choose File->New->COBOL Program
Provide name for the program.
Your First COBOL Codes
Again this is Eclipse! Run the program as you would with programs written in Java.
Download the Project