Java and GAMS

Hi All,
I am trying to use Eclipse Java api of GAMS. After following all the steps in https://www.gams.com/latest/docs/API_JAVA_TUTORIAL.html#JAVA_IMPORT_ECLIPSE_PROJECT , I am getting following error while running example problem transport1.

Exception in thread "main" com.gams.api.GAMSException: GAMS system directory is both not specified and not found from your environment!
	at com.gams.api.GAMSWorkspace.verifySystemDirectory(GAMSWorkspace.java:570)
	at com.gams.api.GAMSWorkspace.initializeAttributes(GAMSWorkspace.java:337)
	at com.gams.api.GAMSWorkspace.<init>(GAMSWorkspace.java:319)
	at com.gams.api.GAMSWorkspace.<init>(GAMSWorkspace.java:175)
	at com.gams.examples.transport.Transport1.main(Transport1.java:35)

Can anyone please give an idea, that, how can I solve it?

Thanks.

Dewan,

Depending on which gams version you are using, you might need to set up your system environment variable before running Eclipse and GAMS Java API. (See
https://www.gams.com/latest/docs/API_JAVA_TUTORIAL.html#JAVA_SETUPENV).

Hope this helps,
Jeed