Ant command - BUILD FAILED - again

Do you mean that I should install with the .exe?

I will try it

Not actually, you should achieve the same result from both ways.

2 Likes

@MohamedTamer

The result was :point_down:

P.S: Should I install the Java SE Development Kit and even the Java JDK 8 update 301?

Before meshing more your system did you run which java as suggested ?

3 Likes

no
Now I did :point_down:

Harish@SRIKAR MINGW64 ~
$ which java
/e/srikar/MIT App Inventor 2/Apache Ant/apache-ant-1.10.11/bin/java

I think I should:

  • Uninstall Apache Ant
  • Uninstall Java files
  • install Apache Ant and set the environment variables again(if needed)
  • install Java JDK 8 Update 301 add new the environment variables

Hope this is correct? :+1: :slight_smile:

Your system is picking an incorrect java path. You might want to check you have specified an existing and valid paths to the JAVA_HOME and PATH variables for java.

3 Likes

My JAVA_HOME path


So, is it the correct path?

If this is your java installation directory then yes

2 Likes

Yes, this is the exact dir in which I downloaded my OpenJDK

Once try this method

1 Like

Yeah sure I will...

1 Like

Hi Everyone

I got a doubt here that
uninstalling it means only uninstalling the files? am I right?
I am asking because:
one day after installing a software, I got to know that is suspicious and I deleted the .exe file instead and that pulled me into problems, later on now I changed into a new pc :star_struck:

Please help me with this @dora_paz

They're the same thing...

1 Like

So do you mean, that is how to uninstall ???

Yes, or you can run the java uninstaller.

1 Like

As those are package files the uninstall tool says no java versions detected

off-topic, but that's a bad idea. If it wasn't a virus, you would just lose access to the program.
If it was one, then it would still infect your computer. The virus need not come only in the .exe file...

I tried this method, and I got my Java
Thanks Everyone...
I'm very happy
I even got my Appzard Offline instance
:star_struck:

So actually you followed my advice given 3 days ago :slight_smile: Glad problem solved

5 Likes