Help me make my first extension

Ok! Thanks for your help can you please clarify what at do you mean by?

Use this lightweight ‘offline’ ide:

2 Likes

Thanks for help. I will try and tell you.

  1. You typed that wrong:

    String final = ""/"+nameoffile+".png"";
    

    Needs to be:

    String final = "/" + nameoffile + ".png";
    
  2. Also final is a reserved word in Java. Reserved words are used by programming language itself. You can’t use it to name your variable.

2 Likes

I have changed all of that but it will still not work as

See here how to add external lib:

Above topic is related to ai sources but method is same also in template.
But in template just add jar to deps dir.

1 Like

Can you please help me? I dont know what I need to do.

Sure.

I am unable to install add environment variable for ant, even after adding when I check in Command Prompt it shows no such command ant -version

Have you installed Ant?
Have you correctly set path of Ant?

1 Like

Make sure that you have edited path and ANT_HOME in system variables

1 Like

How?:relieved: I just unzipped the file and placed it in C drive then the gave that path in variable setting.

Sorry…I mean downloaded.

Then problem can be there.

Capture3

You want to edit path

Your env variables are like this :joy:

You are accessing ANT_HOME from ANT_HOME variable.

I removed it yet it isn’t working.

:rofl:

You have to add that in ClassPath

Done! Now the error has changed to:
Files was unexpected at this time.

You should re-check the guide :grinning: